[offtopic?] problem with UDP broadcast on Windows XP

Irmen de Jong irmen.NOSPAM at xs4all.nl
Tue Apr 10 16:30:34 EDT 2007


> Hendrik van Rooyen wrote:
>> I am not sure if this is at all relevant - but I seem to recall seeing
>> something once that had a list of socket numbers, splitting them 
>> between UDP & TCP - can the socket actually rx UDP?

Yeah, as I wrote: when I'm sending UDP packets to the port directly
on the server's IP address, it responds just fine.

It's just the broadcast packets that don't seem to arrive.
(sent to ('<broadcast>',9090) )

Steve Holden wrote:
> It's most likely, I suspect without knowing to much about it, that the 
> service is stalling because of a failure to "pump" Windows messages. 
> Irmen, are you taking any action in your service to ignore Windows 
> messages that your service process receives?

Hm, seeing that it processes TCP and "directed" UDP packets just fine,
there shouldn't be a problem here?

No I'm not knowingly doing stuff that ignores windows messages...


(I could maybe put up the code if someone wants to take a look but
not right now. Need to rip a fair deal out - there's a lot of
other stuff in there that's not relevant to the problem.)

--Irmen



More information about the Python-list mailing list