delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/16/11:11:44

From: "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RS232 Library (windows friendly?)
Date: Fri, 16 Feb 2001 11:06:49 -0500
Lines: 30
Message-ID: <96jj4b$lkqmp$1@ID-57378.news.dfncis.de>
References: <96jetk$dc8$1 AT novalfsmtp1 DOT novsvcs DOT net>
NNTP-Posting-Host: nas-204-201.rochester.navipath.net (64.20.204.201)
X-Trace: fu-berlin.de 982339532 22702809 64.20.204.201 (16 [57378])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Yeah, windows helps you to lose those characters nicely. Great feature.
I solved this by means of a packet-like protocol with simple checksums and
timeouts. This approach helps to determine loss of data and keep its
integrity. You just rerequest a packet if an error has been encountered.
Very simple approach. And worked for me just fine.

--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/


"pwillard" <petewillard AT hotmail DOT com> wrote in message
news:96jetk$dc8$1 AT novalfsmtp1 DOT novsvcs DOT net...
> In looking throuugh the available RS232 libraries for DJGPP, I noticed
that
> just about all are intolerant of windows.  Can anyone recommend one that
can
> work within a windows environment, IE: DOS BOX on WIN98 running in
character
> mode?
>
> Not looking for anything fancy... VB sample terminal application is
> overkill...
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019