# HG changeset patch # User Giulio Moro # Date 1431103738 -3600 # Node ID 98aed580452a86c02995c049549569ca859591b6 # Parent ad5cd8dd99b3d3658bbb31f1cf492411410c3ae6 - Network now actually works. diff -r ad5cd8dd99b3 -r 98aed580452a .cproject --- a/.cproject Fri May 08 11:12:13 2015 +0100 +++ b/.cproject Fri May 08 17:48:58 2015 +0100 @@ -94,7 +94,7 @@ - + diff -r ad5cd8dd99b3 -r 98aed580452a core/client.cpp --- a/core/client.cpp Fri May 08 11:12:13 2015 +0100 +++ b/core/client.cpp Fri May 08 17:48:58 2015 +0100 @@ -80,7 +80,7 @@ FD_ZERO(&stReadFDS); // Timeout of one second stTimeOut.tv_sec = 0; - stTimeOut.tv_usec = 1000; + stTimeOut.tv_usec = 0; FD_SET(inSock, &stReadFDS); int t = select(inSock+1, &stReadFDS, NULL, NULL, &stTimeOut); @@ -101,11 +101,11 @@ //the worst parser ever int previousN=0; int currentVariable=0; - for(int n=0; inBuffer[n]!=0 && currentVariablereceivePort, settings->transmitPort, settings->serverName); - transmitReceiveDataTask=createAuxiliaryTaskLoop(*transmitReceiveData, 50, "transmit-receive-data"); + transmitReceiveDataTask=createAuxiliaryTaskLoop(*transmitReceiveData, 80, "transmit-receive-data"); //scheduleAuxiliaryTask(transmitReceiveDataTask); //here it does not work return true; }