> Martin Schulze wrote (Wed, 26 Aug 1998 01:04:36 +0200 ): > |>If you want to write portable programs then you use gethostname() to > |>determine the hostname, check for a '.' and if it's not included you > |>use gethostbyname() to get the fqdn. For an example, take a look at > |>the syslogd source.
This doesn't work on Solaris? Why, you should tell us why it fails. Regards, Joey -- A mathematician is a machine for converting coffee into theorems.