site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Nov 24, 2004, at 7:31 AM, Mark Gilbert wrote: Folks I am communicating between CPUs using a socket. On the server side, I bind, then listen, then accept. On the client, I talk to the server through the socket This is all working perfectly, but I have one small problem How do I release the accept so I can terminate my thread and quit ? -Shawn _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... - When I quit, I need to unblock the last call to accept. (I am using a blocking call). I am sure this is really simple, but I am new to sockets, please give me any pointers (or handles...:-) It has been a while... but I believe it is as simple as closing the listening socket in question. That will invalidate things such that accept / select / etc. should return. This email sent to site_archiver@lists.apple.com