Anonymous user
Hostname: Difference between revisions
→{{header|OCaml}}
m (Moved to Enviro and Net cats) |
|||
Line 48:
String hostname = java.net.InetAddress.getLocalHost().getHostName();
=={{header|OCaml}}==
<ocaml>Unix.gethostname()</ocaml>
=={{header|Perl}}==
|