home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / programm / 4505 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.5 KB

  1. Xref: sparky comp.unix.programmer:4505 comp.unix.xenix.sco:2773
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!bsu-cs!news.nd.edu!liszt!bselling
  3. From: bselling@liszt.helios.nd.edu (brian selling)
  4. Newsgroups: comp.unix.programmer,comp.unix.xenix.sco
  5. Subject: Help with modem and socket programming?
  6. Message-ID: <1992Aug31.220524.20933@news.nd.edu>
  7. Date: 31 Aug 92 22:05:24 GMT
  8. Sender: news@news.nd.edu (USENET News System)
  9. Organization: University of Notre Dame, Notre Dame
  10. Lines: 21
  11.  
  12. I am writing a program that allows for a socket to pass thru to a serial line
  13. connected to a modem.  The idea is for a modem pool on the an SCO box that
  14. allows for PC's running Lan Workplace for DOS to use a utilty that redirects
  15. serial port communication thru a host and socket port.  The PC's can then use
  16. kermit to access thru the socket to one of the modems.  That's the idea anyway.
  17. Now here's the problems:  
  18. (1) I can only access /dev/tty1a not /dev/tty1A ... isn't
  19. that reversed of what it should be?
  20. (2) How can I set up non-buffered IO thru the socket?  Currently the only
  21. way I can communication thru the socket is using read() which waits for
  22. a carriage return.
  23. (3) Attempting to use the modem file descriptor in the same program with
  24. the socket file descriptor gives accept errors?
  25.  
  26. If anyone has some experience with this sort of project, please send me some
  27. email.  Thanks in advance.
  28.  
  29. Also I believe the version of SCO is 1.1.1
  30. --
  31. Teresa & Brian Selling
  32. South Bend, IN
  33.