MCPcopy Create free account
hub / github.com/ElementsProject/lightning / __init__

Method __init__

tests/test_opening.py:3712–3715  ·  view source on GitHub ↗
(self, host, port)

Source from the content-addressed store, hash-verified

3710
3711 class SocketConn:
3712 def __init__(self, host, port):
3713 self.sock = socket.create_connection((host, port))
3714 self.sock.settimeout(30)
3715 self.buf = b""
3716
3717 def send(self, data):
3718 self.sock.sendall(data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected