[docs] [issue33121] recv returning 0 on closed connection not documented

joders report at bugs.python.org
Thu Mar 22 10:15:08 EDT 2018


New submission from joders <jona.enders at yahoo.com>:

The "Linux Programmer's Manual" states:

When a stream socket peer has performed an orderly shutdown, the return value will be 0 (the traditional "end-of-file" return).

I find that information pretty important which is why I am asking if you might want to add it to the python documentation as well. It would have prevented a bug in my code.

----------
assignee: docs at python
components: Documentation
messages: 314260
nosy: docs at python, joders
priority: normal
severity: normal
status: open
title: recv returning 0 on closed connection not documented
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33121>
_______________________________________


More information about the docs mailing list