Re: Socket timeout issue
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