mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
Updated tests for tcponudp. Only some of these tests are still valid.
the TOU interface no longer supports multiple sockets.. all the connections are attached to the same UdpStack. Multiple sockets will be re-introduced in the next TOU iteration. At that point the remaining tests will be fixed up. * tweaked regress.mk * added scripts to launch tests. * replaced UdpLayer with UdpStacks. * only two proper tests: udp_server (passes), test_tou (fails) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3c19218bec
commit
4e56166e3f
9 changed files with 94 additions and 64 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "udptestfn.h"
|
||||
|
||||
void UdpRecvTest::recvPkt(void *data, int size, struct sockaddr_in &from)
|
||||
int UdpRecvTest::recvPkt(void *data, int size, struct sockaddr_in &from)
|
||||
{
|
||||
/* print packet information */
|
||||
std::cerr << "UdpRecvTest::recvPkt(" << size << ") from: " << from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue