nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: UDP reading on multiple sockets

Von: thomas.vogel@likeabird.de [Profil]
Datum: 18.05.2009 15:19
Message-ID: <27bd949f-80b5-44c9-8e3b-c12b49c7ed82@r34g2000vbi.googlegroups.com>
Newsgroup: comp.lang.python de.comp.lang.python
On 17 Mai, 04:22, Grant Edwards <gra...@visi.com> wrote:
> On 2009-05-17, Thomas Vogel <thomas.vo...@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

The only honest answer would be that I'm totaly unfamiliar with select
and also the documentation I found wasn't able to clear the picture.
So are there examples of using select together with sockets available?

Kind regards
Thomas

[ Auf dieses Posting antworten ]

Antworten