Conceptually, the oracle is like the white pages in your phone book. A server registers the name and transport address of its service in the phone book, and clients use the phone book to map service names to transport addresses. The client then opens a TCP connection to that service. Exact details for communicating with the oracle are described below. Open a connection to the server providing service service .
Service is the user-friendly service name registered with the oracle .
An optional argument uid is used to distinguish between services provided by different users having the same name. That is, multiple users may register services having the same name. Open a TCP connection to the server supplying the desired service. Copy standard input to the server, and copy all data sent by the server to standard output. Finally, wait for a connection request and service it.