• 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: Problem in CFSocket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in CFSocket


  • Subject: Re: Problem in CFSocket
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 12 Aug 2002 10:41:40 -0700

On Thursday, August 8, 2002, at 12:36 AM, Pranav Kumar Sahu wrote:

It's amaging....I am using CFSocket for an accept callback. it calls
first time from my application loop. Next time when i am runing my
application it does not call the application... If i wait for around 5 to 7
approx mins and run my application it again calls the callback.. Had any one
faced such problem ?

If I understand what you are asking, this is an issue with the underlying socket, not with CFSocket. You can use setsockopt with SO_REUSEADDR and/or SO_REUSEPORT, but you should read up on the consequences of this. Stevens or any decent BSD networking book should have a discussion.

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: 
 >Problem in CFSocket (From: Pranav Kumar Sahu <email@hidden>)

  • Prev by Date: Re(2): Apple: Is pppconfd API supported and stable?
  • Next by Date: Receiving T_GODATA while reading data from the endpoint.
  • Previous by thread: Problem in CFSocket
  • Next by thread: RE: Problem in CFSocket
  • Index(es):
    • Date
    • Thread