Xref: news-dnh.mv.net comp.os.msdos.djgpp:1056 comp.os.msdos.programmer:11600 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!news-e1a.megaweb.com!newstf01.news.aol.com!uunet!in1.uu.net!rbdc!rbdc!not-for-mail From: vanevery AT rbdc DOT rbdc DOT com (Brandon Van every) Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Freeware serial COM port library in C or C++? Date: 21 Jul 1995 14:20:21 -0400 Organization: Red Barn Data Center, Winston-Salem, NC. Lines: 26 Nntp-Posting-Host: rbdc.com Keywords: serial port com library c c++ To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp I've scoured Garbo, Simtel, and Cica for every single scrap of serial port code I can find. I have plenty of examples, but they're all written in assembler. I'm looking for some freeware written in C or C++. Performance is not an issue - all I'm trying to do with this code is probe for a modem. The interface would be something like: fd = open(port, speed) put(fd, string) get(fd, string) close(fd) I'm using DJGPP. If I've completely missed the boat, and this functionality is simply part of or some such, please let me know. There's the library, but it only handles COM1 and COM2. I'd prefer a working implementation that handles COM1-4. Thanks, Brandon -- Brandon J. Van Every | Computer Graphics | The sun attempts | | to be white, vanevery AT rbdc DOT rbdc DOT com | C++ UNIX X11 Motif | as white as http://rbdc.rbdc.com/~vanevery | HTML CGI Perl TCL/Tk | daytime.