- added some special ways to configure how sockets work on a system for testing

This commit is contained in:
Mark Vejvoda
2011-11-27 00:07:55 +00:00
parent fbb3f0b8e5
commit da854f103b
3 changed files with 58 additions and 0 deletions

View File

@@ -130,6 +130,10 @@ public:
Socket();
virtual ~Socket();
static bool disableNagle;
static int DEFAULT_SOCKET_SENDBUF_SIZE;
static int DEFAULT_SOCKET_RECVBUF_SIZE;
//virtual void simpleTask(BaseThread *callingThread);
static int getBroadCastPort() { return broadcast_portno; }