[ Home | What's New | Contents | Overview | Contributors | Distribution | Examples | Documentation | Manual | Publications | Mailing List Archive | Problems ] | This page was last updated by Axel Belinfante on 2006-06-30 | |
TorX Test Tool Information | ||
Prev | Next |
gethostbyaddr( gethostbyname( hostname() ), AF_INET )Rephrased: it prints the name of the current host, as seen by the networking code.
torx-hostname is invoked by adaptor(1) to get the name of the current host, when an ADDRESS entry in a torx-config(4) configuration file contains the special host name currenthost. See the first example in torx-config(4).
This ugly hack is there, to avoid problems when we run torx in cygwin under windows, where the normal hostname(1) and uname(1) (when invoked with the -n option) commands return the hostname as set under windows, which may have no relation whatsoever with the current (networking) host name.
Essentially, this command is only there to make the conference protocol example work.
Prev | Table of Contents | Next |
Appendix D: TorX Manual Pages: tmcs(1) - tcp multicast service | Appendix D: TorX Manual Pages: torx-logclient(1) - connect torx log monitor command to torx |