Sockets: Difference between revisions

177 bytes added ,  11 years ago
added racket
(Add NetRexx implementation)
(added racket)
Line 640:
sock.sendall("hello socket world")
sock.close()</lang>
 
=={{header|Racket}}==
<lang racket>#lang racket
(let-values ([(in out) (tcp-connect "localhost" 256)])
(display "hello socket world\n" out)
(close-output-port out))</lang>
 
=={{header|Rhope}}==
Anonymous user