Search found 1 match

by Danny Scott
Thu Jan 13, 2011 5:10 pm
Forum: C++ Development
Topic: When wxSocket transmiss a file which class should i use?
Replies: 7
Views: 1751

There is no guaranty that all of the data will show up at the same time. You should be checking LastCount after every read to ensure that you actually did read some data. In your type==1 condition you should do something like the following in place of // this->m_socket->Read(buffer,length); wxUint32...