title: Check if a socket disconnected in C, without select()
body: <p>Is there any way to check if a socket has disconnected on the remote end without select() in C?</p>
  
  <p>The reason I don't want to use select() is that in the case that my buffers are full, there may be data available for reading on the socket that I am intentionally ignoring and a select(readfds=[socket_fd]) would always return immediately letting me know.</p>