Hi All The issue is solved, I had to call native setsockopt to set the broadcast enable option. I think this should be an option in pjlib as well. Br, Sandeep On Wed, Jul 24, 2013 at 5:46 PM, Sandeep Gupta <sandygmaharaj at gmail.com>wrote: > Hi > I'm doing it on rpi. Tried with sudo as well, but same result. > Br > Sandeep > On 24-Jul-2013 5:22 PM, "Yuri Saltykov" <yuri at rus.net> wrote: > >> 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 >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130725/61439b07/attachment-0001.html>