MCPcopy
hub / github.com/dabeaz-course/python-mastery / recv

Method recv

Solutions/8_6/server.py:40–42  ·  view source on GitHub ↗
(self, maxsize)

Source from the content-addressed store, hash-verified

38 return GenSocket(client), addr
39
40 def recv(self, maxsize):
41 yield 'recv', self.sock
42 return self.sock.recv(maxsize)
43
44 def send(self, data):
45 yield 'send', self.sock

Callers 2

echo_handlerFunction · 0.45
echo_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected