(address)
Return a connection object connected to the socket given by `address`
Return a connection object connected to the socket given by `address`
Return a connection object connected to the socket given by address
def SocketClient(address):
    '''
    Return a connection object connected to the socket given by `address`
    '''
    family = address_type(address)
    with socket.socket( getattr(socket, family) ) as s:
        s.setblocking(True)
        s.connect(address)
        return Connection(s.detach())
def SocketClient ( address ) : family = address_type ( address ) with socket . socket ( getattr ( socket , family ) ) as s : s . setblocking ( True ) s . connect ( address ) return Connection ( s . detach ( ) )