|
|
HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004Chapter 15 Sample Client/Server Programs |
|
Table of Contents The following code fragments are based on the same IPv4 client/server sample programs shipped in the HP-UX 11i v2 /usr/lib/demos/networking/socket directory. The client requests a service called example. Add an entry to the client’s /etc/services file for example. Assign any unused port number, such as 22375, to the service example for a port address. The host running the server must also have the same port number assigned to example in the server’s /etc/services file. |
|