Loading src/connection.cpp +2 −2 Changes for src/connection.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -149,12 +149,12 @@ size_t netplus::con::getRecvLength(){ } void netplus::con::sending(bool state) { _sending = state; _sending.store(state); _eventapi->sendReady(this,state); } bool netplus::con::issending() { return _sending; return _sending.load(); } Loading src/connection.h +1 −1 Changes for src/connection.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ namespace netplus { eventapi *_eventapi; /*if pollout*/ bool _sending; std::atomic<bool> _sending; friend class poll; }; Loading src/linux/event.cpp +2 −2 Changes for src/linux/event.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -234,7 +234,7 @@ namespace netplus { NetException exception; con *rcon = (con*)_Events[pos].data.ptr; char buf[BLOCKSIZE]; size_t rcvsize = 0, tries=0; size_t rcvsize = 0; rcvsize=_ServerSocket->recvData(rcon->csock, buf, BLOCKSIZE); Loading @@ -257,7 +257,7 @@ namespace netplus { return; } size_t sended=0,tries=0; size_t sended=0; sended = _ServerSocket->sendData(wcon->csock, (void*)wcon->getSendFirst()->getData(), Loading Loading
src/connection.cpp +2 −2 Changes for src/connection.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -149,12 +149,12 @@ size_t netplus::con::getRecvLength(){ } void netplus::con::sending(bool state) { _sending = state; _sending.store(state); _eventapi->sendReady(this,state); } bool netplus::con::issending() { return _sending; return _sending.load(); } Loading
src/connection.h +1 −1 Changes for src/connection.h: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ namespace netplus { eventapi *_eventapi; /*if pollout*/ bool _sending; std::atomic<bool> _sending; friend class poll; }; Loading
src/linux/event.cpp +2 −2 Changes for src/linux/event.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -234,7 +234,7 @@ namespace netplus { NetException exception; con *rcon = (con*)_Events[pos].data.ptr; char buf[BLOCKSIZE]; size_t rcvsize = 0, tries=0; size_t rcvsize = 0; rcvsize=_ServerSocket->recvData(rcon->csock, buf, BLOCKSIZE); Loading @@ -257,7 +257,7 @@ namespace netplus { return; } size_t sended=0,tries=0; size_t sended=0; sended = _ServerSocket->sendData(wcon->csock, (void*)wcon->getSendFirst()->getData(), Loading