fcntl(sock, F_SETFL, O_NONBLOCK);

gets mentioned alot, but its not implemented on winsock? its the function i was looking for.