Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ client1.py
File
client1.py
src/11/passing_a_socket_file_descriptor_between_processes/client1.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
socket
import
socket, AF_INET, SOCK_STREAM
2
3
s = socket(AF_INET, SOCK_STREAM)
4
s.connect((
'localhost'
, 15000))
Callers
nothing calls this directly
Calls
3
send
Method · 0.45
recv
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected