* properly initialised bdId.addr and other struct sockaddr_in.
* This should fix the windows bitdht - not send - issue.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3687 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Added maximum msg limits (20, 50, 100 msgs per sec). 50 = default.
* Priority send out pings, with 10% queries.
* switched bdquery list in bdnode to use pointers... so peers can be
easily reordered (queue for queries).
* Add all find peers, once dht initialised.
* Added reset if FINDSELF fails. (don't know if this is a good idea!)
* simplified DHT printouts. verbose versions are enabled with debug.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3686 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Advertises client as DBxxxx where xxxx is provided by using app.
* Added COMPILE switches to enable ANONYMOUS version or remove BD portion.
* Fixed version code.
* Added slow increase in retry timeout, to reduce DHT traffic over time.
now RETRY PERIOD = query age / 2
* initialised bdToken bdVersion etc length.
* new bdboot.txt
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3615 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Changed getDhtPeerAddress() / Value() function to use const *bdNodeId.
* Filled in getDhtPeerAddress()... to support UDP connections.
* fixed bug in bdnode:: pong msg... wasn't checking if version existed.
* printed out version string, as part of debug.
* added IpAddr field to bdmanager peer search data.
* stored IpAddr from queries... when peer found.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* Added bdHistory, to monitoring all the p2p dht messages (disabled normally)
* cleaned up all compile warnings on OSX.
* added Found timestamp to peer info.
* disable save, until store is close to full.
* ...?other stuff?
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
RetroShare crashes on start, when the initial address on port 7812 is in use.
The thread in UdpLayer::openSocket was not started and the member mTid was uninitialized.
Then a call to join in UdpLayer::reset during the load of the configuration crashes.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3337 b45a01b8-16f6-495d-af2f-9b41ad6348cc
* 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
* brought over tou_net / tou_error => bdnet for windoze compatibility.
* updated udplayer to inline with rs changes + win compatibility.
* removed unix only networking #includes, replaced with "util/bdnet.h"
* added subdirectory to #includes.
* made udpbitdht_nettest use a random node id.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
============================================================
This is intended to be a completely independent library from RS,
(hosted at sf.net/projects/bitdht) hence is being commited at the top level.
As initial further development / testing will be driven by RS integration
it is being added to the RS repository. Equally important is ensuring
that RS can compile without requiring aux libraries.
Once libbitdht is further developed, this section of the repository
is expected to be removed... But that will not be for a while, I expect.
drbob.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3276 b45a01b8-16f6-495d-af2f-9b41ad6348cc