If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Is there a way to know wether there are more data in socket to be read after read 256 byte(sock->Read(cBuf,256)). In other word, I want to know wether I read all data from socket.
mc2r wrote:Not sure if this helps but wxSocketBase::IsData() might be what you are looking for. I don't use wx for networking stuff, so i've not tried it.
-Max
Thanks, Max. I tried wxSocketBase::IsData(). It didn't work as I want.