Jump to content

Hostname: Difference between revisions

Added F# version
(Added F# version)
Line 132:
 
Not exactly a good way to do it. A better way ought to be introduced along with a proper socket interface. [[Category:E examples needing attention]]
 
=={{header|F_Sharp|F#}}==
<lang fsharp>printfn "%s" (System.Net.Dns.GetHostName())</lang>
 
=={{header|Factor}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.