test_julia_scripts/Networking.jl

17 lines
175 B
Julia
Executable File

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)