Here\'s my code:
// Not all headers are relevant to the code snippet. #include #include #include #in
This is an article that I always refer to when working with sockets..
THE WORLD OF SELECT()
It will show you how to reliably use 'select()' and contains some other useful links at the bottom for further info on sockets.