Go to the previous, next section.

gethostid and sethostid

SYNOPSIS

long int gethostid(void);

int sethostid(long int hostid);

DESCRIPTION

gethostid returns the host id and sethostid sets it. The host id is usually the network address of the host.

RETURN VALUE

gethostid returns the 32 bits host id.

Go to the previous, next section.