Find the answer to your Linux question:
Results 1 to 1 of 1
The following code concurrently connects to multiple TCP servers and returns the socket for the server that was the first to respond to the connection request, which means this is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    2

    TCP Smart Connect


    The following code concurrently connects to multiple TCP servers and returns the socket for the server that was the first to respond to the connection request, which means this is either the closest server to the client or the least loaded server of a nearby group.

    If this is not the sub-forum to post this, please move to the appropriate section.

    The attachment uploader does not allow .c files, I renamed the file to .txt

    Thanks and hope this code is helpful!
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •