mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 22:24:49 +00:00
6 lines
164 B
Clojure
6 lines
164 B
Clojure
|
(with [conn (net/connect "127.0.0.1" 8000)]
|
||
|
(print "writing abcdefg...")
|
||
|
(:write conn "abcdefg")
|
||
|
(print "reading...")
|
||
|
(printf "got: %v" (:read conn 1024)))
|