Method System.gethostname()
- Method gethostname
 stringgethostname()- Description
 Returns a string with the name of the host.
- Note
 This function only exists on systems that have the gethostname(2) or uname(2) system calls.
string gethostname()
Returns a string with the name of the host.
This function only exists on systems that have the gethostname(2) or uname(2) system calls.