client/server identification
coolbean
nieters at copernicus.crd.ge.com
Fri Aug 31 23:17:19 AEST 1990
hi
Does anyone know of a way (either via a C system call or
an existing Unix program) to determine if a given machine name is
a) a server or a client and b) if it is a client, what its server
is? I'm after a program to do something like this
% program machine
"machine" is a server - OR -
"machine" is a client of "server-machine"
Looking through man pages, I see plenty of ways to deal with the current
host or finding a machine's aliases, IP address, etc. but no information
on who (if anyone) is its server.
tnx.
--ed
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ed Nieters INTERnet: nieters at crd.ge.com
GE Corporate R&D UUCPnet: uunet!crd.ge.com!nieters
Schenectady, NY 12301 BELLnet: (518) 387-5187
More information about the Comp.unix.questions
mailing list