From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,c93798b9564c21f3,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,c93798b9564c21f3,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-07 07:21:17 PST Path: gmdzi!unido!mcsun!uunet!cs.utexas.edu!utgpu!cunews!nrcnet0!bnrgate!scrumpy!news From: larryd!bnrmtl@larry.mcrcim.mcgill.edu (Larry Dunkelman) Newsgroups: comp.unix.ultrix,comp.sys.dec Subject: Buffer overflow Message-ID: <1991Sep7.014157.24442@scrumpy@.bnr.ca> Date: 7 Sep 91 01:41:57 GMT Sender: news@scrumpy@.bnr.ca (USENET NEWS KJ) Organization: Bell Northern Research Montreal, Canada. Xref: gmdzi comp.unix.ultrix:47638 comp.sys.dec:25199 My application is having a slight case of buffer-itis. Running Ultrix 4.0, a host initiated connection is made to a DS200. The thing hanging off the DS200 is another computer with is pumping data at my application. At some point, the terminal input buffer gets full (or nearly full) and sends an XOFF down the line. The DS200 has been setup not to use XON/XOFF flow control because it occasionally locks up requiring human intervention to set things straight again. The computer at the other end does not understand XOFF and freaks out (long story why this happens). (I don't fully understand how the terminal driver talks to the DS200. Why does it use XON/XOFF to synchronize - dosen't LAT have some more sophisticated way of doing flow control ?) So, what are my options: 1. Improve the speed of my application so that the buffer does not fill up. 2. increase the size of the terminal input buffer (don't know how!) 3. front-end my application another box to do the I/O and buffering 4. get a new job . Any other ideas (I don't really like the last one). Larry. larryd!bnrmtl@larry.mcrcim.mcgill.edu