'Set whether this port may broadcast. This is disabled by default.
@param enabled: Whether the port may broadcast.
@type enabled: L{bool}'

def setBroadcastAllowed(self, enabled):

    self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, enabled)
