Article View: borland.public.cppbuilder.nativeapi
Article #6090select() on serial port
From: Patrick Rotsaert
Date: Wed, 08 Jun 2005 12:56
Date: Wed, 08 Jun 2005 12:56
8 lines
1191 bytes
1191 bytes
While porting a unix application to win32, I found that the select() function only operates on sockets. My application uses both sockets and serial ports. Is there a proper way to wait for events on both socket and serial port at the same time, in the same thread? Thanks, Patrick
Technical Details
Message-ID:
<42a6eb15$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,be0dfdb43d2d029e,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 08 Jun 2005 14:56:52 +0200 From: Patrick Rotsaert <patrick.rotsaert@tts-online.be> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: select() on serial port Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.7.45.88 Message-ID: <42a6eb15$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118235413 194.7.45.88 (8 Jun 2005 05:56:53 -0700) Lines: 9 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail