🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6126

Re: select() on serial port

#6126
From: Bob Gonder
Date: Fri, 10 Jun 2005 19:17
9 lines
1462 bytes
Patrick Rotsaert wrote:

>I did some test, but not very succesful so far.
>It seems that WSAWaitForMultipleEvents cannot handle non-WSA-events.

You should probably be using WaitForMultipleObjects for your Comm
stuff instead.
Since you won't be using Socket i/o on the Comm ports, or Comm i/o on
the Sockets, you will end up with two diffent threads anyway.
Technical Details
Message-ID: <vkpja1dqaoml8cp0dvn6o1g1hh10f19q2k@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <42a6eb15$3@newsgroups.borland.com> <42a6f1f5$1@newsgroups.borland.com> <42a6fc95$1@newsgroups.borland.com> <42a7e509$1@newsgroups.borland.com> <42a99737$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,be0dfdb43d2d029e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: select() on serial port
Date: Fri, 10 Jun 2005 12:17:48 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <vkpja1dqaoml8cp0dvn6o1g1hh10f19q2k@4ax.com>
References: <42a6eb15$3@newsgroups.borland.com> <42a6f1f5$1@newsgroups.borland.com> <42a6fc95$1@newsgroups.borland.com> <42a7e509$1@newsgroups.borland.com> <42a99737$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.200.211
X-Trace: newsgroups.borland.com 1118431075 67.77.200.211 (10 Jun 2005 12:17:55 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail