MCPcopy Index your code
hub / github.com/python/cpython / recvfrom

Method recvfrom

Lib/test/test_asyncio/test_sock_lowlevel.py:625–627  ·  view source on GitHub ↗
(socket)

Source from the content-addressed store, hash-verified

623
624 def test_datagram_send_to_non_listening_address_recvfrom(self):
625 async def recvfrom(socket):
626 data, _ = await self.loop.sock_recvfrom(socket, 4096)
627 return data
628
629 self.loop.run_until_complete(
630 self._basetest_datagram_send_to_non_listening_address(

Callers 14

testSendFrameMethod · 0.45
testSendMaxFrameMethod · 0.45
testSendMultiFramesMethod · 0.45
_testBCMMethod · 0.45
testSendAndRecvMethod · 0.45
testPeekMethod · 0.45
testSendAndRecvMultiMethod · 0.45
testSelectMethod · 0.45
testRecvFromMethod · 0.45
testOverFlowRecvFromMethod · 0.45
testRecvFromMethod · 0.45
testRecvFromMethod · 0.45

Calls 1

sock_recvfromMethod · 0.45

Tested by

no test coverage detected