MCPcopy 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

1from socket import socket, AF_INET, SOCK_STREAM
2
3s = socket(AF_INET, SOCK_STREAM)
4s.connect(('localhost', 15000))

Callers

nothing calls this directly

Calls 3

sendMethod · 0.45
recvMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected