Julia v1.6.6 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1324 页 | 4.54 MB | 1 年前3
 Julia 1.6.5 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1325 页 | 4.54 MB | 1 年前3
 Julia 1.6.7 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1324 页 | 4.54 MB | 1 年前3
 Julia 1.6.1 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1397 页 | 4.59 MB | 1 年前3
 Julia 1.6.4 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1324 页 | 4.54 MB | 1 年前3
 Julia 1.7.0 DEV Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1399 页 | 4.59 MB | 1 年前3
 Julia 1.6.0 DEV Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1383 页 | 4.56 MB | 1 年前3
 Julia 1.6.2 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1324 页 | 4.54 MB | 1 年前3
 Julia 1.6.0 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1397 页 | 4.59 MB | 1 年前3
 Julia 1.6.3 Documentationconnect("google.com", 80) TCPSocket(RawFD(30) open, 0 bytes waiting) At the base of this functionality is getaddrinfo, which will do the appropriate address resolution: julia> getaddrinfo("google.com") the coroutines it wraps around have exited: julia> using Sockets julia> @sync for hostname in ("google.com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET readline(conn, keep=true) println("Finished connection to $(hostname)") end end Finished connection to google.com Finished connection to julialang.org Finished connection to github.com Chapter 22 Parallel0 码力 | 1325 页 | 4.54 MB | 1 年前3
共 87 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 9
 













