usage of gethostname()