[Twisted-Python] twisted newbie question about UDP

Jaroslav Jakl j.jakl at era.cz
Wed Jun 4 04:09:09 EDT 2003

So is UDP in Twisted usable at all?
Where to catch EWOULDBLOCK in UDP communication?
And second question: how to set REUSEADDR option on UDP socket?
It must be done before bind.
Thanks for your help.
Jaroslav Jakl

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

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

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