python broadcast socket
ronpro at cox.net
ronpro at cox.net
Wed Jun 29 10:00:49 EDT 2005
I'm sort of new to both Python and socket programming so I appologize ahead of time if this is a dumb question. I have found that the following code works on windows but on linux I get an exception.
import socket
s = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
s.connect( ( '<broadcast>', 1617 ) )
The exception I get is:
socket.error: (13, 'permission denied')
I have tried this on three Linux machines. All firewall software is disabled.
Thanks for you time and patience.
Ron
More information about the Python-list
mailing list