(host, port, service = VoidService, config = {}, ipv6 = False, keepalive = False)
return connect_stream(s, service, config)
creates a socket-connection to the given host and port
    
    :param host: the hostname to connect to
    :param port: the TCP port to use
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
    :param ipv6: whether to use IPv6 or not

    :returns: an RPyC connection
creates a socket-connection to the given host and port
    
    :param host: the hostname to connect to
    :param port: the TCP port to use
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
    :param ipv6: whether to use IPv6 or not
creates a socket - connection to the given host and port : param host : the hostname to connect to : param port : the TCP port to use : param service : the local service to expose ( defaults to Void ) : param config : configuration dict : param ipv6 : whether to use IPv6 or not
def connect(host, port, service = VoidService, config = {}, ipv6 = False, keepalive = False):
    """
    creates a socket-connection to the given host and port
    
    :param host: the hostname to connect to
    :param port: the TCP port to use
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
    :param ipv6: whether to use IPv6 or not

    :returns: an RPyC connection
    """
    s = SocketStream.connect(host, port, ipv6 = ipv6, keepalive = keepalive)
    return connect_stream(s, service, config)
def connect ( host , port , service = VoidService , config = { } , ipv6 = False , keepalive = False ) : s = SocketStream . connect ( host , port , ipv6 = ipv6 , keepalive = keepalive ) return connect_stream ( s , service , config )