home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gossip.pyramid.com!olivea!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!easix!bc3!ktf
- From: ktf@bc3.GUN.de (Klaus ter Fehn)
- Newsgroups: comp.lang.c
- Subject: Re: Writing and reading from a device
- Message-ID: <BzIAxJ.25M@bc3.GUN.de>
- Date: 19 Dec 92 12:34:30 GMT
- References: <009653D6.94D9B200@vms.csd.mu.edu>
- Organization: private
- Lines: 19
-
- In article <009653D6.94D9B200@vms.csd.mu.edu> 5652garsidej@vms.csd.mu.edu writes:
-
- >Hi,
- > I am trying to write a simple communication program that will basically
- >read and write to a port that a modem is connected to (not quite fortunate
- >to have tcp/ip yet). The problem is that when I echo the output, not all
- >of it is released by the buffer. I am using SCOV5. Any suggestions? Also,
- >if anyone has some source code to get me started, that would be great.
-
- I'm not quite sure ... hmm ... first (even if it's a stupid remark) have you
- flushed the output buffers (fflush()) ? Second, take a closer look to the
- ioctl-Settings (Baud rate, HANDSHAKING(!)) ?
-
- Greetings...
- --
- Klaus ter Fehn <ktf@bc3.GUN.de>
- Neanderstr. 4 {mcshh,smurf,unido}!easix!bc3!ktf
- 4000 Duesseldorf 1
- FRG / Germany Tel.: +49-211-676331
-