Re: CFNetwork crash!
Re: CFNetwork crash!
- Subject: Re: CFNetwork crash!
- From: Becky Willrich <email@hidden>
- Date: Wed, 17 Jul 2002 10:56:05 -0700
For Jaguar, it is still the same but there is a new property that you
can set which relinquishes the ownership. This will allow
CFSocketStream to close the native socket for you when you
CFXXXXStreamClose.
Just to be clear - the default is if CFStream opens the socket, it will
close it. If it does not (which is the case when you create a stream
from a native socket), it will not, so if you want the native socket
closed, you must recover it from the stream and close it yourself. In
Jaguar, as Jeremy says, there's a property to let you override the
default behavior one way or the other.
REW
_______________________________________________
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.