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.