Index of /instruct/juell/cs475/threads

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [TXT] client.c 06-Jan-1997 18:31 2.2K [TXT] info 06-Jan-1997 18:31 214 [   ] makefile 06-Jan-1997 18:31 308 [TXT] sample.txt 06-Jan-1997 18:31 433 [TXT] server.c 06-Jan-1997 18:31 4.1K [   ] temp.sh 06-Jan-1997 18:31 328 [TXT] tutorial 06-Jan-1997 18:31 5.0K
# @(#)README 1.1 93/02/25 SMI;

MT TLI Client-Server Name Database Example

This source code is documented in Sun's Network Interface
Programmers Guide.  It is a simple example of a network employee 
name lookup system. 

The files of the example are listed as:

client.c  The client process which will talk with a server
	  host.  

server.c The server process which will receive an employee
	 number from the client process, lookup an employee
	 name, and send the employee name to the client.

makefile  A make file to compile and create the executables.


How to run:

make get_name       ; make client

make emp_server    ; make server


./name_server

./get_name server_host  employee_id


DISCLAIMER:  These files are provided only as an example of multi-thread
and network programming techniques.  These files and the code they
contain are not supported in any way by  SunSoft Inc.  The company takes
no responsibility for the contents of these files nor for any
consequences that may result from compiling these files and executing
the resulting files.