# in a terminal:
# $ while true; do date | nc 0.0.0.0 1234 -w 1; sleep 1; done
# in a janet repl:
(net/server "0.0.0.0" 1234
(fn [conn]
(prin (net/read conn 4096))
(net/close conn)))
# note: output doesn't actually start until you (quit) your repl's fiber:
(quit)