home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!sdd.hp.com!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!van-bc!mdavcr!eddie
- From: eddie@mdavcr.mda.ca (Man Sang Lui)
- Newsgroups: comp.unix.misc
- Subject: RS232 & networking and process logging
- Message-ID: <3930@map.mdavcr.mda.ca>
- Date: 4 Jan 93 22:34:06 GMT
- Lines: 38
-
-
- Hi
-
- I am new to this group and I have some problems which might have already been
- solved by some wizards in this group.
-
- I am currently having a SLC SPARCstation connected to a CD-ROM jukebox via
- an RS232 (ttyb) and a SCSI ports. The jukebox has four CD-ROM drives and
- four CDs can be loaded and accessed at the same time. All the control
- commands (e.g. selecting a CD, rotating the carousel) are sent from the Sun
- workstation to the jukebox via the RS232 port. The communication speed is
- 9600 bauds. The actual mounting and the ejection of the CDs are done via
- the SCSI interface. The jukebox and the workstation are also in a class B
- network. I have already done some software design and development for the
- controlling program using C. My questions are:
-
- 1. In order for a host in the network to use the jukebox, a user has to use
- rlogin or telnet to log on to the SLC SPARCstation before s/he can run the
- controlling program. Is there a way that I can incorporate this in my C
- program so that the jukebox is visible from any host in the network? Is
- this a client-server based and/or networking problem? What is the best
- way for me to tackle this?
-
- 2. Assuming question no. 1 can be achieved, how do I deal with locking
- facility for multi-user access?
-
- 3. If the jukebox is available on the network, I would like to keep a log
- file to record which user is using what and possibly show this to all
- current users on the network. In others words, when the controlling
- program is started by a user, it has to know which user is currently
- using what disc and for how long. How should I approach this?
-
- I should be much obliged if you could suggest some solutions or point me
- in the right direction (e.g. public domain source). Please e-mail me at
- eddie@mda.ca
-
- Thanks in advance.
- Eddie
-