[New-bugs-announce] [issue23176] socket.recvfrom(0) waits for data

Sworddragon report at bugs.python.org
Tue Jan 6 03:58:37 CET 2015

New submission from Sworddragon:

For example on sending ICMP packets and receiving the data socket.recv(1) does wait for data while socket.recv(0) doesn't. socket.recvfrom(1) does wait for data too but I'm also seeing that socket.recvfrom(0) is waiting for data which doesn't look correct (at least it seems not to be consistent with socket.recv()).

components: Library (Lib)
messages: 233500
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: socket.recvfrom(0) waits for data
type: behavior
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list