[Twisted-Python] twisted newbie question about UDP

Jaroslav Jakl j.jakl at era.cz
Thu Jun 5 02:15:45 EDT 2003

It doesn't matter if socket is TCP or UDP, if it is set non-blocked and
there is no data to read,
it return EWOULDBLOCK.
Thanks for your replies and it will be fine to have it fixed soon.
Jaroslav Jakl

-----Original Message-----
From: twisted-python-admin at twistedmatrix.com
[mailto:twisted-python-admin at twistedmatrix.com]On Behalf Of Itamar
Sent: Wednesday, June 04, 2003 5:01 PM
To: twisted-python at twistedmatrix.com
Subject: Re: [Twisted-Python] twisted newbie question about UDP

On Wed, 4 Jun 2003 10:09:09 +0200
"Jaroslav Jakl" <j.jakl at era.cz> wrote:

> So is UDP in Twisted usable at all?
> Where to catch EWOULDBLOCK in UDP communication?

Sorry for the confusion before. Anyway - from what I understood UDP
sockets never raise EWOULDBLOCK, but apparently I was wrong if you are
seeing it. I'll do a fix sometime soon.

Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting

Twisted-Python mailing list
Twisted-Python at twistedmatrix.com


More information about the Twisted-Python mailing list