mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- attempt to fix socket bug where we incorrectly polled for data using ioctl / ioctlsocket. While we stilkl do some peeks, the bulk of the socket work is now done properly by simply doing recv and thus should prove more stable and reliable as well as perform better.
This commit is contained in:
@@ -145,7 +145,7 @@ public:
|
||||
|
||||
int getDataToRead(bool wantImmediateReply=false);
|
||||
int send(const void *data, int dataSize);
|
||||
int receive(void *data, int dataSize);
|
||||
int receive(void *data, int dataSize, bool tryReceiveUntilDataSizeMet);
|
||||
int peek(void *data, int dataSize, bool mustGetData=true);
|
||||
|
||||
void setBlock(bool block);
|
||||
|
Reference in New Issue
Block a user