First pass for windows compilation:

* 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 commit is contained in:
drbob 2010-07-18 16:28:51 +00:00
parent d53a6c9d29
commit d70337a642
30 changed files with 1209 additions and 635 deletions

View file

@ -2,7 +2,7 @@
#define BITDHT_UDP_STACK_RECEIVER_H
/*
* bitdht/udpstack.h
* udp/udpstack.h
*
* BitDHT: An Flexible DHT library.
*
@ -27,9 +27,8 @@
*/
#include <netinet/in.h>
#include "util/bdthreads.h"
#include "util/bdnet.h"
#include <iosfwd>
#include <list>
@ -38,7 +37,7 @@
#include <iosfwd>
#include <map>
#include "udplayer.h"
#include "udp/udplayer.h"
/* UdpStackReceiver is a Generic Receiver of info from a UdpLayer class.
* it provides a UdpReceiver class, and accepts a stack of UdpReceivers,