CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 16

Threaded View

  1. #7
    Join Date
    Jan 2009
    Posts
    12

    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
  •  





Click Here to Expand Forum to Full Width

Featured