* Switched on Dht "Attach" Mode if RS is firewalled. (and not nice firewall).

* Added interfaces to enable AttachMode switch.
 * Added further tcponudp tests.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-07-21 11:28:19 +00:00
parent f6002b3981
commit b56ddfeb5b
10 changed files with 445 additions and 11 deletions

View file

@ -0,0 +1,20 @@
#/bin/sh
# Script to Test the udp_server code.
EXEC=./timed_tou
DATAFILE=./timed_tou
TMPOUTPUT=tmpoutput$$
EXPECTEDPERIOD=10
$EXEC 127.0.0.1 4401 127.0.0.1 4032 < $DATAFILE > $TMPOUTPUT
if diff -s $DATAFILE $TMPOUTPUT
then
echo "SUCCESS"
else
echo "FAILURE to accurately transfer DATA"
fi
rm $TMPOUTPUT