MCPcopy Create free account
hub / github.com/ai4ce/RAP / init

Function init

utils/network_gui.py:27–33  ·  view source on GitHub ↗
(wish_host, wish_port)

Source from the content-addressed store, hash-verified

25
26
27def init(wish_host, wish_port):
28 global host, port, listener
29 host = wish_host
30 port = wish_port
31 listener.bind((host, port))
32 listener.listen()
33 listener.settimeout(0)
34
35
36def try_connect():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected