mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Changes to Integrate DHT... first tests appear successful.
* Added testing stuff to libretroshare.pro, enabled UDP again, * fixed NO_TCP #define in p3connmgr.cc * Added PeerStatus() call to p3bitdht.cc to start connect to DHT address. * HACK change to p3peers.cc to display DHT results. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3586 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0ca009c4fa
commit
05e908df12
4 changed files with 74 additions and 10 deletions
|
@ -25,8 +25,10 @@ release {
|
|||
DEFINES *= PQI_DISABLE_TUNNEL
|
||||
}
|
||||
|
||||
|
||||
|
||||
testnetwork {
|
||||
DEFINES *= PQI_DISABLE_UDP
|
||||
# DEFINES *= PQI_DISABLE_UDP
|
||||
DEFINES *= PQI_DISABLE_TUNNEL
|
||||
|
||||
# DEFINES *= AUTHSSL_DEBUG GPG_DEBUG
|
||||
|
@ -93,6 +95,20 @@ SOURCES += tcponudp/udppeer.cc \
|
|||
}
|
||||
|
||||
|
||||
test_bitdht {
|
||||
# DISABLE TCP CONNECTIONS...
|
||||
DEFINES *= P3CONNMGR_NO_TCP_CONNECTIONS
|
||||
|
||||
# NO AUTO CONNECTIONS??? FOR TESTING DHT STATUS.
|
||||
DEFINES *= P3CONNMGR_NO_AUTO_CONNECTION
|
||||
|
||||
# ENABLED UDP NOW.
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
use_blogs {
|
||||
|
||||
HEADERS += services/p3blogs.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue