UDP reading on multiple sockets

Grant Edwards grante at visi.com
Sun May 17 04:22:25 CEST 2009


On 2009-05-17, Thomas Vogel <thomas.vogel at likeabird.de> wrote:

> I'm currently have the problem that I try to read UDP messages from 
> multiple sockets in parallel. So let's say I get UDP packets from the 
> same IP on the ports 2000, 2001, 2002,...

Is there any reason you can't do it the easy way by using
select?

http://docs.python.org/library/select.html

-- 
Grant




More information about the Python-list mailing list