How can I specify a timeout value with my MFC Sockets in receive mode. It seems that my socket is just stalled if the other end disconnects while this end is in receive mode. Any body can guide me doing this either with MFC sockets or even with WinSock.

Thanks
Samir