• 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
NSSocketPort timeouts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSSocketPort timeouts
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: getLineStart:end:contentsEnd:forRange:
  • Next by Date: NSMutableString, NSMutableAray, scrambled
  • Previous by thread: Re: Bug in Security Framework?
  • Next by thread: Re: NSSocketPort timeouts
  • Index(es):
    • Date
    • Thread