MCPcopy Create free account
hub / github.com/ActiveState/code / recv

Method recv

recipes/Python/577950_Socket_Broadcast_Help/recipe-577950.py:37–39  ·  view source on GitHub ↗

Receive a broadcast through the underlying socket.

(self, size)

Source from the content-addressed store, hash-verified

35 self.__sock.close()
36
37 def recv(self, size):
38 "Receive a broadcast through the underlying socket."
39 return self.__sock.recvfrom(size)
40
41 def send(self, data):
42 "Send a broadcast through the underlying socket."

Callers 2

test_recvFunction · 0.45
recipe-577994.pyFile · 0.45

Calls 1

recvfromMethod · 0.45

Tested by 1

test_recvFunction · 0.36