PDA

View Full Version : TCP Smart Connect



kotlakiran
June 7th, 2011, 09:49 PM
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!