[Twisted-Python] twisted newbie question about UDP

Jaroslav Jakl j.jakl at era.cz
Thu Jun 5 00:15:45 MDT 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
Shtull-Trauring
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
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


--5063502--






More information about the Twisted-Python mailing list