'Sets the Transport on the rmeote device.
Examples:
>>> pwnlib.protocols.adb.AdbClient().transport()'

def transport(self, serial=None):

    if ((not serial) and context.device):
        serial = context.device
    if serial:
        serial = str(serial)
        msg = ('host:transport:%s' % serial)
    else:
        msg = 'host:transport-any'
    if (self.send(msg) == FAIL):
        if serial:
            self.error(('Could    not    set    transport    to    %r' % serial))
        else:
            self.error("Could    not    set    transport    'any'")
