Is rhost() a front end to gethbyname()

Ron Natalie ron at hardees.rutgers.edu
Fri Jun 16 23:24:39 AEST 1989


Rhost was the 4.1 BSD TCP host lookup routine.  It's syntax
(if I recall) was roughly:

	long	rhost(namep)
	char	**namep;

Where namep is a pointer to a character array containing the
name to be looked up.  When successful rhost puts a pointer
to an array containing the official host name in namep and
returns the internet address.

-Ron



More information about the Unix-pc.general mailing list