[Twisted-Python] twisted newbie question about UDP

Itamar Shtull-Trauring itamar at itamarst.org
Tue Jun 3 08:11:59 MDT 2003


On Tue, 3 Jun 2003 13:07:27 +0200
"Jaroslav Jakl" <j.jakl at era.cz> wrote:

> I tried an example from howto doc. chapter 4.4.2 and it produce
> EWOULDBLOCK error after first received packet.
> Question is how to handle EWOULDBLOCK exception, because
> it isn't handled EWOULDBLOCK in udp.port.doRead().

I'm going to change it so EWOULDBLOCK gets turned into a callback on the
protocol.

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




More information about the Twisted-Python mailing list