next up previous
Next: Negotiation of the byte Up: How to start a Previous: Standard I/O on OX

Launcher

Though there need several socket operations to establish a connection over TCP/IP, servers do not have any functionality for connection establishment. An application called launcher is provided to start servers and to establish connections as follows.

1.
A launcher is invoked from a client. When the launcher is invoked, the client informs the launcher of a port number for TCP/IP connection and the name of a server.
2.
The launcher and the client establish a connection with the specified port number. One time password may be used to prevent launcher spoofing.
3.
The launcher creates a process and establishes a connection to the client. Then the launcher arranges for the newly created descriptors to be 3 and 4, and executes the specified server.

After finishing the above task as a launcher, the launcher process acts as a control server and controls the server process created by itself.



Nobuki Takayama 平成12年1月25日