Adding and checking for services (Internet domain)
To add a new service, add its name to the
/etc/services file.
You can issue a call to look into
/etc/services to make sure it is on the
system, before using it in your program.
See
getservent(SLIB)
and
services(SFF)
for more information.
Next topic:
Error handling in programming (Internet domain)
Previous topic:
A typical TCP/IP process
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003