Re: UDP Socket binding
Re: UDP Socket binding
- Subject: Re: UDP Socket binding
- From: "Matthew Jaffa" <email@hidden>
- Date: Thu, 20 Oct 2005 12:48:15 -0600
Well it appears that configd for 10.2 is greedy and doesn't set
SO_REUSEPORT.
Thanks for the suggestion of the lsof command.
Matt
From: Josh Graessley <email@hidden>
To: Matthew Jaffa <email@hidden>
CC: email@hidden
Subject: Re: UDP Socket binding
Date: Thu, 20 Oct 2005 11:03:21 -0700
Are you using the SO_REUSEPORT option?
You may need to use lsof to find the other process that is binding to that
port. It may not be possible to bind to the same port if that process
isn't using SO_REUSEPORT.
-josh
On Oct 20, 2005, at 10:59 AM, Matthew Jaffa wrote:
Hi,
I have created an application which is listening for DHCP traffic on port
68, I am able to bind to this port 68 using a UDP DGRAM socket on 10.4,
but when I try to run it on 10.2 it fails with this error:
48 which is Address already in use, but works fine on 10.4.
Is there some way on 10.2 to share that address to listen to on?
Thanks,
Matt Jaffa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
<< smime.p7s >>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden