Re: Simple BSD Sockets question
Re: Simple BSD Sockets question
- Subject: Re: Simple BSD Sockets question
- From: Pelle Johansson <email@hidden>
- Date: Wed, 24 Nov 2004 18:56:25 +0100
2004-11-24 kl. 16.31 skrev Mark Gilbert:
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
- When I quit, I need to unblock the last call to accept. (I am using
a blocking call).
How do I release the accept so I can terminate my thread and quit ?
I am sure this is really simple, but I am new to sockets, please give
me any pointers (or handles...:-)
Send the process a signal you are catching, the system call will then
interrupt and return.
--
Pelle Johansson
<email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden