|
-
November 27th, 2008, 03:55 PM
#5
Re: New To Sockets. [WinSock]
this is no 'problem'. It is how blocking sockets are supposed to work. If you do not want to be blocked by the call to recv(), read up on the use of select().
If the client sends a message after the connect() is successful, you will be able to receive it on server side. If it sends it some time later, maybe select() is your friend.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|