Hostname: Difference between revisions

Content added Content deleted
(added omit from ML/I)
(Improve description)
Line 397: Line 397:


=={{header|Seed7}}==
=={{header|Seed7}}==
The library [http://seed7.sourceforge.net/libraries/socket.htm socket.s7i]
defines the function [http://seed7.sourceforge.net/libraries/socket.htm#getHostname getHostname],
which returns the hostname.

<lang seed7>$ include "seed7_05.s7i";
<lang seed7>$ include "seed7_05.s7i";
include "socket.s7i";
include "socket.s7i";