On Sun, 6 Jul 2008, Stephen Thorne wrote: > On Sun, Jul 6, 2008 at 8:24 PM, Daniel O'Connor <darius at dons.net.au> wrote: > >> Many people have asked pygame to expose their X socket file > >> descriptor, and that they haven't suggests it might be an SDL > >> limitation. > > > > Pesky abstractions ;) > > I've actually been told by a pygame developer that "no, you're doing > it wrong" when presented with the use-case of wanting to do a > select() on the X fd and the network at the same time. > > bizarre point of view if you ask me. I imagine the correct usage is probably something involving threads or some SDL based waiting mechanism. Assuming you're using an X server on a POSIX platform does somewhat defeat the point of using pygame/SDL/etc in the first place.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part. Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20080706/1763fa55/attachment.pgp