Trusted Solaris Developer's Guide

Running the Simple Application

The client process takes the server host name and a user ID as input parameters and prints that it is sending the specified user ID:


owl%  phoenix
phoenix% owl 2570
Sending UID 2570

The server retrieves the user ID and prints it out as follows:


Client's UID is 2570

The client process prints the server response and then exits:


Response received: 6
phoenix%