[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list