home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4544 next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.4 KB

  1. Xref: sparky comp.unix.programmer:4544 comp.unix.xenix.sco:2824
  2. Path: sparky!uunet!gatech!concert!duke!wolves!tcsrtp!royc
  3. From: royc@tcsrtp.uucp (Roy Andrew Crabtree)
  4. Newsgroups: comp.unix.programmer,comp.unix.xenix.sco
  5. Subject: Re: Help with modem and socket programming?
  6. Summary: DCD must be held (or DSR) high; cable chg
  7. Message-ID: <1992Sep05.011213.17050@tcsrtp.uucp>
  8. Date: 5 Sep 92 01:12:13 GMT
  9. References: <1992Aug31.220524.20933@news.nd.edu>
  10. Organization: Triangle Computer Society
  11. Lines: 29
  12.  
  13. In article <1992Aug31.220524.20933@news.nd.edu> bselling@liszt.helios.nd.edu (brian selling) writes:
  14. >I am writing a program that allows for a socket to pass thru to a serial line
  15. > ...
  16. >Now here's the problems:  
  17. >(1) I can only access /dev/tty1a not /dev/tty1A ... isn't
  18. >that reversed of what it should be?
  19.  
  20.     Make the port raise DCD (in the modem) or use DSR to DCD;
  21.     or open/special the file ...
  22.  
  23. >(2) How can I set up non-buffered IO thru the socket?  Currently the only
  24. >way I can communication thru the socket is using read() which waits for
  25. >a carriage return.
  26. >(3) Attempting to use the modem file descriptor in the same program with
  27. >the socket file descriptor gives accept errors?
  28. >
  29. >If anyone has some experience with this sort of project, please send me some
  30. >email.  Thanks in advance.
  31. >
  32. >Also I believe the version of SCO is 1.1.1
  33.  
  34.     GOod luck.
  35.  
  36. >--
  37. >Teresa & Brian Selling
  38. >South Bend, IN
  39.  
  40. royc
  41. duke!wolves!tcsrtp!royc
  42.