parameters: (self, host, port)
return_statement: return self.voidcmd(cmd)
docstring: Send a PORT command with the current host and the given
          port number.
docstring_summary: Send a PORT command with the current host and the given
          port number.
docstring_tokens: Send a PORT command with the current host and the given port number .
function: 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)
function_tokens: 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 )