simple network programming question
gonzo at agoralabs.com
Mon Jan 14 20:44:08 MST 2008
>> I am getting a "Permission denied" error (errno 13) when using
>> sendto() on a UDP socket. Any idea what might be causing this?
>> code works fine on a Windows box but not on my linux box.
> Just a guess, but are you trying to send to a broadcast address? If
> do you have the SO_BROADCAST socket option set? This is a long shot
> because setting SO_BROADCAST mostly looks the same on linux and
> but I didn't see too many other EACCESS return points on the kernel
No, not trying to send to a broadcast address
More information about the PLUG