i tried doing a fcntl on my socket to make it a non-blocking socket, however when i call accept() it blocks. i ran the same program under linux gcc and it ran just fine, therefore i guess the problem is in your compiler and not in my code (i even create a simple program that simply calls accept after fcntl()ing a socket, and that program blocked too). do you know about this? gcc -v output is: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs gcc version 2.95.2 19991024 (release-2) -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple