Re: Asynchronous I/O using NSFileHandle
Re: Asynchronous I/O using NSFileHandle
- Subject: Re: Asynchronous I/O using NSFileHandle
- From: Daryn <email@hidden>
- Date: Sun, 28 Jul 2002 10:54:40 -0500
On Friday, July 26, 2002, at 09:17 AM, Gregor Nobis wrote:
Does anyone know of a way to do asynchronous I/O using NSFileHandle?
The documentation only mentions methods for reading in background and
it seems there is no non-blocking method for writing. Am I missing
something here?
Any help is greatly appreciated,
Use fcntl() on the file descriptor to set the O_NONBLOCK flag.
Daryn
_______________________________________________
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.