Ok, select times out, returns 0, how can I tell if the socket has been closed? If the socket isn't closed, i need to keep reading. Yes, the code i've provided doesn't entirely replicate the...
Type: Posts; User: killerbyte
Ok, select times out, returns 0, how can I tell if the socket has been closed? If the socket isn't closed, i need to keep reading. Yes, the code i've provided doesn't entirely replicate the...
select() is staying blocked after close() is called, surely this isn't normal? The program connects to my local webserver and waits for input, about 1 second after waiting, threadfunction calls...