class twisted.internet.interfaces.IReactorMulticast(Interface): (source)
Known implementations: twisted.internet.iocpreactor.reactor.IOCPReactor, twisted.internet.posixbase.PosixReactorBase
UDP socket methods that support multicast.
IMPORTANT: This is an experimental new interface. It may change without backwards compatibility. Suggestions are welcome.
Method | listenMulticast | Connects a given DatagramProtocol to the given numeric UDP port. |
Connects a given DatagramProtocol
to the given numeric UDP port.
Parameters | port | Undocumented (type: int ) |
protocol | Undocumented (type: DatagramProtocol ) | |
interface | Undocumented (type: str ) | |
maxPacketSize | Undocumented (type: int ) | |
listenMultiple | If set to True, allows multiple sockets to bind to the same address and port number at the same time. (type: bool ) | |
Returns | An object which provides IListeningPort . (type: IListeningPort ) | |
See Also | twisted.internet.interfaces.IMulticastTransport | |
http://twistedmatrix.com/documents/current/core/howto/udp.html |