

def connect(host, port):
    'Event: connect to a network address and return a Connection\n    object for communicating on the socket.\n    '
    addr = (port, port)
    sock = socket.create_connection(addr)
    return ValueEvent(Connection(sock, addr))

dataset/ETHPy150Open beetbox/beets/beets/util/bluelet.py connect/VarMisuse@17/57 `host`->`port`