def getsockopt(self, socket, option):
    if (not isinstance(socket, TransmissionControlObject)):
        raise Error(errno.ENOTSOCK)
    if isinstance(socket, LogicalDataLink):
        socket.send_miu = self.cfg['send-miu']
    if isinstance(socket, RawAccessPoint):
        socket.send_miu = self.cfg['send-miu']
    return socket.getsockopt(option)
def getsockopt(self, socket, option):
    if (not isinstance(socket, TransmissionControlObject)):
        raise Error(errno.ENOTSOCK)
    if isinstance(socket, LogicalDataLink):
        socket.send_miu = self.cfg['send-miu']
    if isinstance(socket, RawAccessPoint):
        socket.send_miu = self.cfg['send-miu']
    return socket.getsockopt(option)