Understanding the BSD sockets using select.