A blocking socket problem
VEGH, Janos
veghj at users.sf.net
Sat Aug 5 05:56:36 PDT 2006
>
> Add wxSOCKET_BLOCK to your constructor.
>
I did, no change.
After starting the client thread, no reading takes place, no error
happens.
Then, the client sends a message to the server, the server replies.
The client thread receives the message, no error (3 different readings,
for the command, parameter length, parameter).
Then, the client thread cycles to read the next command, and the
Would_Block error
appears this time.
What is the difference when the thread waits for the first command
or the second one?
Janos
More information about the wx-users
mailing list