site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Matt From: Josh Graessley <jgraessley@apple.com> To: Matthew Jaffa <mtjaffa@msn.com> CC: darwin-dev@lists.apple.com Subject: Re: UDP Socket binding Date: Thu, 20 Oct 2005 11:03:21 -0700 Are you using the SO_REUSEPORT option? -josh On Oct 20, 2005, at 10:59 AM, Matthew Jaffa wrote: Hi, 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/jgraessley% 40apple.com This email sent to jgraessley@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Well it appears that configd for 10.2 is greedy and doesn't set SO_REUSEPORT. Thanks for the suggestion of the lsof command. 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. 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: << smime.p7s >> This email sent to site_archiver@lists.apple.com
participants (1)
-
Matthew Jaffa