• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Asynchronous I/O using NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Asynchronous I/O using NSFileHandle (From: Gregor Nobis <email@hidden>)

  • Prev by Date: Re: Serial number verification / obfuscation (was: Re: Hiding [...] symbols [...])
  • Next by Date: Re: Memory allocation questions
  • Previous by thread: Re: Asynchronous I/O using NSFileHandle
  • Next by thread: determining dragging source
  • Index(es):
    • Date
    • Thread