[offtopic?] problem with UDP broadcast on Windows XP

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Apr 9 08:52:06 EDT 2007


En Mon, 09 Apr 2007 08:43:23 -0300, Irmen de Jong <irmen.NOSPAM at xs4all.nl>  
escribió:

> I have this UDP socket server that binds on ('',9090) and is used
> to be a broadcast responder. It works fine when I start the server
> from the cmd prompt. UDP broadcast packets sent to ('<broadcast>',9090)
> arrive in the server.
>
> However now I'm running the same server as a Windows NT Service.
> The same code is executed, the UDP server socket is bound to the
> same address. But this time, the UDP broadcast packets do NOT arrive....

Try running the service impersonating another user (not LOCAL_SERVICE, the  
default).
You can change that from the service control panel.

-- 
Gabriel Genellina




More information about the Python-list mailing list