Re: selecting sockets and serials
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: selecting sockets and serials
- From: Sam Roberts <vieuxtech@...>
- Date: 2012年10月18日 09:30:45 -0700
On Wed, Oct 17, 2012 at 6:31 PM, Jorge <xxopxe@gmail.com> wrote:
>> Btw, you cannot meaningfully select() on files in linux. You can
> Hm, i must be missing something (again). I've done
>
> local fd = nixio.open('/dev/ttyUSB0', nixio.open_flags('rdwr', 'nonblock'))
/dev/ttyUSB0 isn't a file.
Sam