Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsj!kb2glo From: kb2glo@cbnewsj.att.com (thomas.kenny) Newsgroups: comp.lang.c++ Subject: Re: Q's about serial I/O in TC++ Message-ID: <1991Apr24.174824.15422@cbnewsj.att.com> Date: 24 Apr 91 17:48:24 GMT References: <15151@helios.TAMU.EDU> Organization: AT&T Bell Laboratories Lines: 22 In article <15151@helios.TAMU.EDU> sam4628@zeus.tamu.edu writes: >Disclaimer: I'm new to Turbo C++... I'm new to C++... For that matter, I'm >just learning C (not a bad transition from Pascal, though). > >I'm trying to do serial IO using the bioscom library function. The IO >appears to be unbuffered. If so, what is the best way to do buffered >IO out the COM port? If not, can I set the size of the buffer? Finally, >is there a way to set the XMIT/Receive timeout times? Thanks. > Steven This is a very good question! I was just about to ask the same thing. Although I'm a guru in UNIX/C I'm a novice when it comes to C++ and C on MSDOS. I wrote a short C program using bioscom and characters were being dropped from the COM port. To learn C++ better I would rather just write in C++ then in C. So I'd also like to know how to access the COM ports without dropping any bytes. Any ideas, suggestions? -- Tom Kenny, KB2GLO uucp: att!lzatt!tek internet: tek%lzlup@att.att.com packet: kb2glo@nn2z.nj.usa.na ampr: kb2glo@nn2z.ampr.org [44.64.0.10]