K 10 svn:author V 3 jkh K 8 svn:date V 27 1996-12-05T18:14:56.000000Z K 7 svn:log V 192 gethostname() returns int, not long. Answered my own question by RTFM'ing. Either both the header files and the man pages are wrong or this code is, and I'll take the majority decision. :-) END