Hello,

I'm trying to create a broadcast socket in some portable code (windows XP & 
mandrake linux).  When I run the following lines through idle:

import socket
s = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
s.connect( ('<broadcast>', 17100) )

On windows, connect() returns and I have a broadcast socket to which I can 
write.  One LINUX connect() just tells me 'Permission denied'.

Does anybody know why?  Any thoughts on how I can get around this?  I have to 
transmitt data to an old system.  The system only reads broadcast data on port 
17100.

Thanks for the input.

Ron Provost

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to