Getting the peers name

Frank Halsema frankh at durin.sparta.COM
Wed Mar 7 15:34:16 AEST 1990


I have a system to which all users access via telnet. I would like to
write a routine that will return the internet address of the machine
that the users is telneting from. I can call getpeername but it
requires the socket id as input. Is the id just the stdin file
descriptor ? Is there a call that will return it ? Thanks for Any and
all help!!



-- 
Frank Halsema                           UUCP: durin!frankh             
SPARTA, Inc.                   		ARPA: frankh at durin.sparta.com
23041 de la Carlota, Suite 400
Laguna Hills Ca, 92653     (714) 768-8161 EXT 339  (714)583-9114 FAX



More information about the Comp.unix.wizards mailing list