[Twisted-Python] twisted newbie question about UDP

Itamar Shtull-Trauring twisted-python@twistedmatrix.com
Tue, 3 Jun 2003 10:11:59 -0400


On Tue, 3 Jun 2003 13:07:27 +0200
"Jaroslav Jakl" <j.jakl@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