Anonymous user
Sockets: Difference between revisions
no edit summary
(→{{header|Erlang}}: Fixed string...) |
No edit summary |
||
Line 271:
=={{header|Factor}}==
<lang factor>"localhost" 256 <inet> utf8 [ "hello socket world" print ] with-client</lang>
=={{header|Fantom}}==
<lang fantom>
using inet
class Socket
{
public static Void main ()
{
sock := TcpSocket()
sock.connect(IpAddr("localhost"), 256)
sock.out.printLine("hello socket world")
sock.out.flush
sock.close
}
}
</lang>
=={{header|Forth}}==
|