[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: selecting sockets and serials
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 16 Oct 2012 07:56:19 +0200
On Mon, Oct 15, 2012 at 11:39 PM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
>
> So far I've been using visual studio, but would switching to cygwin or the
> likes be a workaround to make it work on windows?
One way would be to use an async serial interface. Winapi has a simple one:
http://stevedonovan.github.com/winapi/api.html#open_serial
It returns a File object which has a read_async method (backed by a thread)
Not _exhaustively_ tested, so your milleage may vary ;)
steve d.