Winsock Select() Function
I'm trying to make a real basic program that will connect to something read data until there is no more to read, then allow for input, then loop. I can create the socket, connect and read the first round of data and respond just fine, but there seems to be a problem in the second iteration of the loop.
I'm using the winsock select() function and I cannot seem to figure out the problem. I was hoping somebody might have a snippet of sample code that I might look at in comparison.