Hi Im working on a c++ project that requires me to have a simple winsock client server program but the only thing is that it needs to be non blocking. Now this wouldnt be a problem except that im creating this for a windows console application. I also want to stay away from using threads if at all possible. I have looked every where on the net and the only tutorials for making a non blocking winsock socket that i have found have been for unix or linux. If any one can help me understand how to set a windows socket to non blocking I would be very happy.

If you need any more information please just let me know.