|
-
January 3rd, 2009, 09:02 AM
#7
Re: C++ Server/Client application
Each thread uses different socket identifier s_.
So select() in different threads is called on different sockets.
I use this receive function in the client in nonblocking mode with a timeout of 2 seconds.
However, although the server sends the data, the select() times out...
Last edited by theanonymous; January 3rd, 2009 at 09:05 AM.
Tags for this Thread
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
|