Setting Socket option - broadcast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On Wed, Jul 24, 2013 at 04:48:22PM +0530, Sandeep Gupta wrote:
> If I want to send some data to
> PJ_INADDR_BROADCAST<http://www.pjsip.org/pjlib/docs/html/group__PJ__SOCK.htm#gaf8758a7b2d9c5813c104b9527d58cd1b>,
> do I need to set some socket option for that? I get :
> 
> Permission denied [status=120013]
> 
> when I try to send data to broadcast address.

from "man setsockopt"
"Broadcast was a privileged operation in earlier versions of the
system."

You run apps from uid 0 ?

-- 
Best Regards, Yuri.
	Yuri Saltikov
	mailto: yuri at rus.net



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux