Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ start_client
Function
start_client
recipes/Python/511436_Paint_20/recipe-511436.py:48–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
thread.start_new_thread(processor, ())
47
48
def
start_client():
49
global ZSP
50
server = socket.socket()
51
server.connect((HOST, PORT))
52
ZSP = spots.ZSP(server)
53
54
def
start_server():
55
global ZSP
Callers
1
connect
Function · 0.70
Calls
2
socket
Method · 0.80
connect
Method · 0.45
Tested by
no test coverage detected