If I wish to close the socket I first do a shutdown(..), then closesocket(..).   At this point the IOCP servie thread gets called.
 
Neil
----- Original Message -----
From: /dev/null
Sent: Thursday, May 05, 2005 10:23 PM
Subject: Re: [msvc] closing a client connection..

How do you "physically" close a socket?
----- Original Message -----
To: NDThrd
Sent: Thursday, May 05, 2005 4:34 AM
Subject: [msvc] closing a client connection..

Hi,
  I have a IOCP winsock application. Within the IOCP service routine, I have a closesocket command. But if I physically close the socket outwith this thread, then the closesocket(..) gets called withing the thread too. Is there a clean way of doing this?
 
Neil


_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.


_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
_______________________________________________
msvc mailing list
msvc@beginthread.com
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to