coroutine AbstractEventLoop.sock_recv(sock, nbytes)
Receive data from the socket. Modeled after blocking socket.socket.recv()
method.
The return value is a bytes object representing the data received. The maximum amount of data to be received at once is specified by nbytes.
With SelectorEventLoop
event loop, the socket sock must be non-blocking.
This method is a coroutine.
Please login to continue.