tony@mwuk.UUCP (Tony Mountifield) (05/14/91)
I want to write a server to run on a non-UNIX (OS-9) system to respond to rsh requests from our Sun-3. I have successfully created a program which will accept connections on shell/tcp and fork a child to converse through the connected socket. Can anyone give me a description of the protocol for the data exchange over the socket? So far, the process receives a four-digit number which looks like a dynamic port number (1022), followed by a NUL byte. But it is then waiting for a reply of some sort. I have tried TFM for the Sun, but it doesn't seem to be there. Thanks in advance, Tony. -- Tony Mountifield. | Microware Systems (UK) Ltd. MAIL: tony@mwuk.uucp | Leylands Farm, Nobs Crook, INET: tony%mwuk.uucp@ukc.ac.uk | Colden Common, WINCHESTER, SO21 1TH. UUCP: ...!mcsun!ukc!mwuk!tony | Tel: 0703 601990 Fax: 0703 601991 **** OS-9, OS-9000 Real Time Systems **** MS-DOS - just say "No!" ****
barmar@think.com (Barry Margolin) (05/15/91)
In article <423@mwuk.UUCP> tony@mwuk.UUCP (Tony Mountifield) writes: >I want to write a server to run on a non-UNIX (OS-9) system to respond >to rsh requests from our Sun-3. >I have tried TFM for the Sun, but it doesn't seem to be there. You didn't try hard enough. See rshd(8). In general, when protocols are described, they are described in the manual page for the server, not the client (because users who read the rsh(1) man page are interested in how to use it, not how it works). -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar