Link to http://eli.thegreenplace.net/2006/04/07/non-blocking-socket-access-on-windows/