Re: How to stop listening on a port?
Re: How to stop listening on a port?
- Subject: Re: How to stop listening on a port?
- From: Andreas Mayer <email@hidden>
- Date: Mon, 11 Nov 2002 16:06:27 +0100
Am Montag, 11.11.02 um 09:00 Uhr schrieb Hasan Diwan:
To interrupt
it, wait until a time then issue an alarm() from another thread.
----
This interface is made obsolete by setitimer(2).
The alarm() function sets a timer to deliver the signal SIGALRM to
the
calling process after the specified number of seconds.
----
So SIGALRM will stop the read()? Or will it stop the thread? The whole
process? I think I'll have to continue reading that Unix book ... :-}
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.