test_julia_scripts/Networking.jl

17 lines
175 B
Julia
Raw Normal View History

2020-05-07 17:05:12 +00:00
conn = connect(1234)
write(conn, "Hello world!\n")
println(conn, "hello again")
function foo()
for i in 5:8
produce(i)
end
end
t = Task(foo)
consume(t)