From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,128c5cdc2331c6ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-26 10:16:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "William J. Thomsa" Newsgroups: comp.lang.ada Subject: Re: Serial port programming. Date: Sun, 26 Jan 2003 13:16:33 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:33438 Date: 2003-01-26T13:16:33-05:00 List-Id: If you look in the Win32 help that comes with ObjectAda (not the AdaWin32 help, but the orig one from MS), and look up Communications that will take you to a section that explains all of the functions associated with serial communications in Win32. The next thing you want to look for is an article (on msdn.microsoft.com) entitled "Serial Communications in Win32". This white paper tells you all about using the above mentioned functions using Overlapped IO which allows you to set up event, receive and transmit tasks to service the ports. The whole subject can get quite complex but if you stick with it you can acheive a nice abstraction for a "port" (using taksking) that will not spend most of its time polling the ports for traffic. WJT