Catching closed NSFileHandles?
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.