mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
updates to libbitdht to make it work with retroshare.
* decreased nodes per bucket to 10 - to try reduce traffic. * changed operator< to non const. * fixed up debuging. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3322 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1069ed0c58
commit
c1b624832f
6 changed files with 24 additions and 9 deletions
|
@ -33,7 +33,10 @@
|
|||
#include <list>
|
||||
#include <deque>
|
||||
|
||||
std::ostream &operator<<(std::ostream &out, const struct sockaddr_in &addr);
|
||||
/* careful - duplicate definitions */
|
||||
//std::ostream &operator<<(std::ostream &out, const struct sockaddr_in &addr);
|
||||
std::ostream &operator<<(std::ostream &out, struct sockaddr_in &addr);
|
||||
|
||||
bool operator==(const struct sockaddr_in &addr, const struct sockaddr_in &addr2);
|
||||
bool operator<(const struct sockaddr_in &addr, const struct sockaddr_in &addr2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue