On 2005-07-08, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > 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.
Didn't we just answer this question for you two weeks ago? http://groups-beta.google.com/group/comp.lang.python/browse_frm/thread/6447ef29cf613660/dcdc52690aa562e1 -- Grant Edwards grante Yow! I'm RELIGIOUS!! I at love a man with a visi.com HAIRPIECE!! Equip me with MISSILES!! -- http://mail.python.org/mailman/listinfo/python-list