• 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 timeout issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket timeout issue


  • Subject: Re: Socket timeout issue
  • From: Mitchell Laurren-Ring <email@hidden>
  • Date: Wed, 12 Sep 2007 11:10:44 -0700


On Sep 11, 2007, at 2:44 AM, Quinn wrote:

I'm not 100% sure, but I believe that you're misunderstanding the role of the socket timeout for sends.

You are correct - I did misunderstand. Thanks for clarifying.

For all who are interested I used getsockname to retrieve the IP address for my socket and traversed the list of interface addresses that I got from getifaddrs to validate it. The code works perfectly now. Thanks for all of your suggestions and help.

FWIW, I decided to use the BSD solution because my application doesn't currently use CFRunLoop and the reachability APIs I needed required it.


-Mick _______________________________________________ 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: 
 >Socket timeout issue (From: Mitchell Laurren-Ring <email@hidden>)
 >Re: Socket timeout issue (From: Quinn <email@hidden>)

  • Prev by Date: Re: NAT-PMP Broadcast Address?
  • Next by Date: Re: NAT-PMP Broadcast Address?
  • Previous by thread: Re: Socket timeout issue
  • Next by thread: How to find realm of an Authentication Challenge
  • Index(es):
    • Date
    • Thread