Sending a broadcast message using raw sockets

peter at peaxy.net peter at peaxy.net
Wed Jan 23 02:21:27 CET 2013


Yes, raw sockets need admin privileges, I knew that. The app I'm writing runs as root so that's not a problem. It runs during the %pre script stage of a kickstart controlled install.

On Tuesday, January 22, 2013 1:58:07 PM UTC-8, Rob Williscroft wrote:
> Try 
> 
>     	s = socket.socket( socket.AF_INET, socket.SOCK_RAW )
> 
> 
> 
> I tried this on windows and it needed admin privaleges to
> 
> run.
> 
> 
> 
> Rob.
> 
> --




More information about the Python-list mailing list