• 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
Catching closed NSFileHandles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Catching closed NSFileHandles?


  • Subject: Catching closed NSFileHandles?
  • From: Andreas Monitzer <email@hidden>
  • Date: Sat, 13 Jul 2002 13:22:11 +0200

My app has lots of NSFileHandles which wrap around TCP sockets. I'm using -readInBackgroundAndNotify to get notifications on data arrival.
However, I need a notification when the socket is closed by the other side, and I don't see anything in NSFileHandle that could do this. Should I switch to CFSocket, or is there a hidden feature somewhere?

thx
andy
--
DigiTunnel 1.0 released, offering full PPTP-support for Mac OS X!
http://www.gracion.com/vpn/
_______________________________________________
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.

  • Prev by Date: Re: Lex and yacc
  • Next by Date: Re: Case *insensitive*
  • Previous by thread: Re: how to hide/show/bring to front apps with Cocoa?
  • Next by thread: Carbon API with carbon
  • Index(es):
    • Date
    • Thread