CSocket stops receiving data
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I am using the CSocket class with all the CSocketFile and CArchive stuff (mainly based on the MFC samples). The problem now is, that, after some time, the socket won't receive anything (well, it receives it, but it still stops at some point). When receiving the data with CAsyncSocket::Receive, it won't stop, so I guess it's a problem with either CSocket or CArchive/CSocketFile. The funny thing is that the MFC samples have the same problem... and it's not just my computer :wtf: So is there any known solution to this or do I have to go a different direction without archives? And yes, I used IsBufferEmpty()...