[Twisted-Python] Broadcasting UDP

Hegedus, Matthew S matthew.s.hegedus at lmco.com
Thu Dec 18 19:12:20 EST 2003

I am having trouble with UDP broadcasting. 

self.transport.write(data, (broadcastAddress, port))

yields a socket error 'Permission denied'. It appears the socket is not set
up for broadcasting. Upon creation I think it needs something like
SO_BROADCAST as an option. Can I get this behavior using Twisted UDP
protocols or do I need to do my own socket stuff? Thanks,

Matthew Hegedus

More information about the Twisted-Python mailing list