Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1506,8 +1506,9 @@ to sockets.

Receive data from the socket. The return value is a bytes object representing the
data received. The maximum amount of data to be received at once is specified
by *bufsize*. See the Unix manual page :manpage:`recv(2)` for the meaning of
the optional argument *flags*; it defaults to zero.
by *bufsize*. A returned empty bytes object indicates that the client has disconnected.
See the Unix manual page :manpage:`recv(2)` for the meaning of the optional argument
*flags*; it defaults to zero.

.. note::

Expand Down