Re: udp port sharing across processes on OS X?
Re: udp port sharing across processes on OS X?
- Subject: Re: udp port sharing across processes on OS X?
- From: Joe Ridge <email@hidden>
- Date: Thu, 1 Jun 2006 00:58:12 -0400
I'm not sure if this is the case, but I would wager that this is a
security feature. If you could open someone else's port you could
eavesdrop on their network traffic, and eavesdropping is a privilege
reserved for the super-user.
On Jun 1, 2006, at 12:44 AM, Michelle Munson wrote:
By setting the socket options SO_REUSEADDR and
SO_REUSEPORT, I've been able to successfully get two
instances of the same process running as the same user
to bind and share the same UDP port on OS X. However,
if the two instances of the process are running as
different user ids, the bind attempt by the second
instance of the process fails with "address already in
use". Does anyone know if there is way to get two
instances of the same process running as different
user ids to reuse the same UDP port on Mac OS X?
Thanks,
Michelle
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40umiacs.umd.edu
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden