[issue8498] Cannot use backlog = 0 for sockets

Daniel Evers report at bugs.python.org
Thu Apr 22 12:02:53 CEST 2010


New submission from Daniel Evers <dermojo at googlemail.com>:

I'm trying to rewrite a server application in python that accepts exactly 1 connection. I have a previous version written in C that can call listen() on a socket with a backlog of 0 connections, but this is not possible in python. In Modules/socketmodule.c (function socket_listen) the backlog is reset to at least "1".

----------
components: Extension Modules
messages: 103942
nosy: Daniel.Evers
severity: normal
status: open
title: Cannot use backlog = 0 for sockets
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8498>
_______________________________________


More information about the Python-bugs-list mailing list