Known implementations: twisted.internet.iocpreactor.udp.MulticastPort, twisted.internet.udp.MulticastPort

Additional functionality for multicast UDP.

Method getOutgoingInterface Return interface of outgoing multicast packets.
Method setOutgoingInterface Set interface for outgoing multicast packets.
Method getLoopbackMode Return if loopback mode is enabled.
Method setLoopbackMode Set if loopback mode is enabled.
Method getTTL Get time to live for multicast packets.
Method setTTL Set time to live on multicast packets.
Method joinGroup Join a multicast group. Returns Deferred of success or failure.
Method leaveGroup Leave multicast group, return Deferred of success.
def getOutgoingInterface(): (source)

Return interface of outgoing multicast packets.

def setOutgoingInterface(addr): (source)

Set interface for outgoing multicast packets.

Returns Deferred of success.

def getLoopbackMode(): (source)

Return if loopback mode is enabled.

def setLoopbackMode(mode): (source)

Set if loopback mode is enabled.

def getTTL(): (source)

Get time to live for multicast packets.

def setTTL(ttl): (source)

Set time to live on multicast packets.

def joinGroup(addr, interface=''): (source)

Join a multicast group. Returns Deferred of success or failure.

If an error occurs, the returned Deferred will fail with error.MulticastJoinError.

def leaveGroup(addr, interface=''): (source)

Leave multicast group, return Deferred of success.

API Documentation for Twisted, generated by pydoctor at 2015-11-29 11:40:45.