NSSocketPort timeouts
NSSocketPort timeouts
- Subject: NSSocketPort timeouts
- From: Stefan Arentz <email@hidden>
- Date: Wed, 11 Jul 2001 00:23:16 +0200
I'm using DO between two machines using NSSocketPort. It works
great and fast, except for one thing; When I kill the client or
disconnect the cable, I do not receive any notifications. I'm
listening for both
NSPortDIdBecomeInvalidNotification
NSConnectionDidDieNotification
but these don't seem to be thrown when the port becomes
invalid.
In the netstat -a output I see that the socket is there during
a good connection and then goes away when an error occurs, so
that part seems to be working ...
Is this a bug? Should I poll my connections periodically to
find out whether they died?
Stefan