PyDocs

Nav

Networking and Interprocess Communication

loop.sock_accept

asyncio

async methodnot WASI
  • loop.sock_accept(sock)
Accept a connection. Modeled after the blocking socket.accept() method.
Changed in 3.7
  • 3.7: Even though the method was always documented as a coroutine method, before Python 3.7 it returned a Future. Since Python 3.7, this is an async def method.
0 Examples
No examples for asyncio/loop.sock_accept.
See Also
No see-alsos for asyncio/loop.sock_accept
0 Notes
No notes for loop.sock_accept