• 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: CFNetwork crash!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: CFNetwork crash! (From: Jeremy Wyld <email@hidden>)

  • Prev by Date: Re: CFNetwork crash!
  • Next by Date: what's the equvilent call of OTInetQuery (OT) in sockets?
  • Previous by thread: Re: CFNetwork crash!
  • Next by thread: what's the equvilent call of OTInetQuery (OT) in sockets?
  • Index(es):
    • Date
    • Thread