home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4505 comp.unix.xenix.sco:2773
- 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
- From: bselling@liszt.helios.nd.edu (brian selling)
- Newsgroups: comp.unix.programmer,comp.unix.xenix.sco
- Subject: Help with modem and socket programming?
- Message-ID: <1992Aug31.220524.20933@news.nd.edu>
- Date: 31 Aug 92 22:05:24 GMT
- Sender: news@news.nd.edu (USENET News System)
- Organization: University of Notre Dame, Notre Dame
- Lines: 21
-
- I am writing a program that allows for a socket to pass thru to a serial line
- connected to a modem. The idea is for a modem pool on the an SCO box that
- allows for PC's running Lan Workplace for DOS to use a utilty that redirects
- serial port communication thru a host and socket port. The PC's can then use
- kermit to access thru the socket to one of the modems. That's the idea anyway.
- Now here's the problems:
- (1) I can only access /dev/tty1a not /dev/tty1A ... isn't
- that reversed of what it should be?
- (2) How can I set up non-buffered IO thru the socket? Currently the only
- way I can communication thru the socket is using read() which waits for
- a carriage return.
- (3) Attempting to use the modem file descriptor in the same program with
- the socket file descriptor gives accept errors?
-
- If anyone has some experience with this sort of project, please send me some
- email. Thanks in advance.
-
- Also I believe the version of SCO is 1.1.1
- --
- Teresa & Brian Selling
- South Bend, IN
-