MCPcopy Create free account
hub / github.com/1jehuang/jcode / connect

Method connect

scripts/test_memory.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 self.sock = None
47
48 def connect(self):
49 self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
50 self.sock.connect(self.socket_path)
51 self.sock.settimeout(120)
52
53 def close(self):
54 if self.sock:

Callers 15

mainFunction · 0.95
send_cmd_quickFunction · 0.45
send_message_asyncFunction · 0.45
wait_for_socketFunction · 0.45
create_sessionFunction · 0.45
_send_recvFunction · 0.45
dbgFunction · 0.45
wait_for_socketFunction · 0.45
wait_for_socketFunction · 0.45
cmdFunction · 0.45
wait_for_socketFunction · 0.45
create_sessionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected