On Don, 01 Mai 2003, Simon Hausmann wrote: > It's not that gethostname results in a slow dns lookup or something. > At least on glibc gethostname costs one uname() syscall 'only' . > Maybe even that could be cached (assuming the change of hostname to > be an exceptional case here) . Its still a syscall overhead. -- Dirk