Re: Bad things happening to listener CFSockets
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.