PyDocs

Nav

Networking and Interprocess Communication

loop.sock_recv

asyncio

async methodnot WASI
  • loop.sock_recv(sock, nbytes)
Receive up to nbytes from sock. Asynchronous version of socket.recv().
Changed in 3.7
  • 3.7: Even though this method was always documented as a coroutine method, releases before Python 3.7 returned a Future. Since Python 3.7 this is an async def method.
0 Examples
No examples for asyncio/loop.sock_recv.
See Also
No see-alsos for asyncio/loop.sock_recv
0 Notes
No notes for loop.sock_recv