• 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: Bad things happening to listener CFSockets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad things happening to listener CFSockets


  • Subject: Re: Bad things happening to listener CFSockets
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 23 May 2002 11:42:11 -0700

On Thursday, May 23, 2002, at 11:06 AM, Avi Drissman wrote:

In OT land, sometimes my listening sockets would get disconnected, and I'd get a T_DISCONNECT or what have you from them. If that happened, I'd trash them and create new ones.

What happens here? Can I be assured that my listening sockets won't get trashed? Do they survive network configuration changes (like OT didn't)?

Usually you won't be binding to a specific interface, in which case I believe you should be OK. If you are binding to a specific interface, and it goes away, then all that should happen is that you don't get new connections while that interface is down. There is a different framework that can provide notifications of network configuration changes, if that is important to you.

Someone working at a lower level in the networking stack can correct me if I'm wrong, or if there are cases I have missed. I would suggest you try it out yourself, too.

Douglas Davidson
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Bad things happening to listener CFSockets (From: Avi Drissman <email@hidden>)

  • Prev by Date: More newbie CF[Socket|Stream] questions
  • Next by Date: Re: Authentication for MoreSCF
  • Previous by thread: Re: Bad things happening to listener CFSockets
  • Next by thread: More newbie CF[Socket|Stream] questions
  • Index(es):
    • Date
    • Thread