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.
- 06-07-2011 #1Just 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!


Reply With Quote
