original_docstring: 
          Create and return a direct TCP-based connection to another host (at 
          'host':'port') to be used with this protocol.
  
          Raises a ConnectingException if there is any issue establishing the 
          connection (connection refused by host, connection aborted while
          setting up connection, getaddrinfo had some error, error resolving the 
          hostname, etc.)
          
docstring: Create and return a direct TCP-based connection to another host (at
  'host':'port') to be used with this protocol.
  
  Raises a ConnectingException if there is any issue establishing the
  connection (connection refused by host, connection aborted while
  setting up connection, getaddrinfo had some error, error resolving the
  hostname, etc.)
docstring_tokens: Create and return a direct TCP - based connection to another host ( at ' host ' : ' port ' ) to be used with this protocol . Raises a ConnectingException if there is any issue establishing the connection ( connection refused by host connection aborted while setting up connection getaddrinfo had some error error resolving the hostname etc . )
code: def from_address(host, port):
          """
          Create and return a direct TCP-based connection to another host (at 
          'host':'port') to be used with this protocol.
  
          Raises a ConnectingException if there is any issue establishing the 
          connection (connection refused by host, connection aborted while
          setting up connection, getaddrinfo had some error, error resolving the 
          hostname, etc.)
          """
          sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          try:
              sock.connect((host, port))
          except (ConnectionRefusedError, ConnectionAbortedError, socket.gaierror,
                  socket.herror) as e:
              raise ConnectingException(str(e))
          return Connection(sock)
code_tokens: def from_address ( host , port ) : sock = socket . socket ( socket . AF_INET , socket . SOCK_STREAM ) try : sock . connect ( ( host , port ) ) except ( ConnectionRefusedError , ConnectionAbortedError , socket . gaierror , socket . herror ) as e : raise ConnectingException ( str ( e ) ) return Connection ( sock )
short_docstring: Create and return a direct TCP-based connection to another host (at
  'host':'port') to be used with this protocol.
short_docstring_tokens: Create and return a direct TCP - based connection to another host ( at ' host ' : ' port ' ) to be used with this protocol .
comment: """
          Create and return a direct TCP-based connection to another host (at 
          'host':'port') to be used with this protocol.
  
          Raises a ConnectingException if there is any issue establishing the 
          connection (connection refused by host, connection aborted while
          setting up connection, getaddrinfo had some error, error resolving the 
          hostname, etc.)
          """