home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18685 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.1 KB

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