Julia 1.7.0 DEV Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 JULIA_PKG_SERVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 29.2 External package called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may0 码力 | 1399 页 | 4.59 MB | 1 年前3
Julia v1.6.6 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.5 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1325 页 | 4.54 MB | 1 年前3
Julia 1.6.7 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.1 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1397 页 | 4.59 MB | 1 年前3
Julia 1.6.4 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.0 DEV Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1383 页 | 4.56 MB | 1 年前3
Julia 1.6.2 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1324 页 | 4.54 MB | 1 年前3
Julia 1.6.0 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1397 页 | 4.59 MB | 1 年前3
Julia 1.6.3 Documentationpackage called Sockets. Let's first create a simple server: julia> using Sockets julia> @async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end Task (runnable) usage is some- what simpler than the raw Unix socket API. The first call to listen will create a server waiting for incoming connections on the specified port (2000) in this case. The same function may PipeServer(active) Note that the return type of the last invocation is different. This is because this server does not listen on TCP, but rather on a named pipe (Windows) or UNIX domain socket. Also note that0 码力 | 1325 页 | 4.54 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













