(service_name, host = None, service = VoidService, config = {})
return connect(host, port, service, config = config)
create a connection to an arbitrary server that exposes the requested service
    
    :param service_name: the service to discover
    :param host: limit discovery to the given host only (None means any host)
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict

    :raises: ``DiscoveryError`` if no server is found
    :returns: an RPyC connection
create a connection to an arbitrary server that exposes the requested service
    
    :param service_name: the service to discover
    :param host: limit discovery to the given host only (None means any host)
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
create a connection to an arbitrary server that exposes the requested service : param service_name : the service to discover : param host : limit discovery to the given host only ( None means any host ) : param service : the local service to expose ( defaults to Void ) : param config : configuration dict
def connect_by_service(service_name, host = None, service = VoidService, config = {}):
    """create a connection to an arbitrary server that exposes the requested service
    
    :param service_name: the service to discover
    :param host: limit discovery to the given host only (None means any host)
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict

    :raises: ``DiscoveryError`` if no server is found
    :returns: an RPyC connection
    """
    host, port = discover(service_name, host = host)[0]
    return connect(host, port, service, config = config)
def connect_by_service ( service_name , host = None , service = VoidService , config = { } ) : host , port = discover ( service_name , host = host ) [ 0 ] return connect ( host , port , service , config = config )