(self, host, port)
return self.voidcmd(cmd)
Send a PORT command with the current host and the given
        port number.
Send a PORT command with the current host and the given
        port number.
Send a PORT command with the current host and the given port number .
def sendport(self, host, port):
        '''Send a PORT command with the current host and the given
        port number.
        '''
        hbytes = host.split('.')
        pbytes = [repr(port//256), repr(port%256)]
        bytes = hbytes + pbytes
        cmd = 'PORT ' + ','.join(bytes)
        return self.voidcmd(cmd)
def sendport ( self , host , port ) : hbytes = host . split ( '.' ) pbytes = [ repr ( port // 256 ) , repr ( port % 256 ) ] bytes = hbytes + pbytes cmd = 'PORT ' + ',' . join ( bytes ) return self . voidcmd ( cmd )