[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: select implementation for a "file descriptor set"
- From: "Peter Loveday" <peter@...>
- Date: Tue, 5 Aug 2003 11:25:19 -0400
This is tricky on Windows... certainly you can wait for multiple objects
such as file I/O, serial, sockets etc; but not with a select(), which is
only valid for sockets. This is one area of Windows that's a real PITA; the
lack of a single signal/messaging system for timers, UI events, sockets,
asyc I/O, semaphores etc... they all have different mechanisms.
Love, Light and Peace,
- Peter Loveday
Director of Development, eyeon Software
----- Original Message -----
From: "WYSIWYH" <firstname.lastname@example.org>
Sent: Tuesday, August 05, 2003 6:09 AM
Subject: select implementation for a "file descriptor set"
> does anyone know if there's a implementation of a select that
> can handle multiple "file descriptor-sets", ie watching for an
> event on the serial port and on a tcp-connection?
> I know there's an implementation in luasocket, but this only
> handles sockets...is there any possible solution?
> Thanx in advance...