• 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: socket shutdown leaking FCBs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: socket shutdown leaking FCBs


  • Subject: Re: socket shutdown leaking FCBs
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 28 Jan 2005 13:46:15 -0800

On 2005-01-28 13:31:58 -0800 daniel <email@hidden> wrote:

Would it be better to call CFSocketInvalidate on the CFSocket? Unless configured otherwise, this will automatically close the underlying socket.

 From CFSocket.h:

"Do not in either case close the underlying native socket without invalidating the CFSocket."


I believe that in this particular case the CFSocket wrapped the accepting socket, while the socket being closed was the accepted socket, not yet wrapped in its own CFSocket. However, it was a bit difficult to make out from the code. If a socket is wrapped in a CFSocket, then you are right, the CFSocket should be invalidated.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: socket shutdown leaking FCBs (From: daniel <email@hidden>)

  • Prev by Date: Re: socket shutdown leaking FCBs
  • Next by Date: Re: kCFStreamErrorHTTPParseFailure?
  • Previous by thread: Re: socket shutdown leaking FCBs
  • Next by thread: Re: socket shutdown leaking FCBs
  • Index(es):
    • Date
    • Thread