Julia 1.12.0 RC1Low-level synchronization primitives . . . . . . . . . . . . . . . . . . . . . . . . . . 1172 50.4 Task metrics (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173 51 Scoped Values Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat 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 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta4Low-level synchronization primitives . . . . . . . . . . . . . . . . . . . . . . . . . . 1171 50.4 Task metrics (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1172 51 Scoped Values Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat 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 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta3Low-level synchronization primitives . . . . . . . . . . . . . . . . . . . . . . . . . . 1171 50.4 Task metrics (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1172 51 Scoped Values Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat 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 码力 | 2057 页 | 7.44 MB | 3 月前3
 julia 1.12.0 beta1Low-level synchronization primitives . . . . . . . . . . . . . . . . . . . . . . . . . . 1163 49.4 Task metrics (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1164 50 Scoped Values Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat 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 码力 | 2047 页 | 7.41 MB | 3 月前3
 julia 1.13.0 DEVLow-level synchronization primitives . . . . . . . . . . . . . . . . . . . . . . . . . . 1174 50.4 Task metrics (Experimental) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175 51 Scoped Values Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(Threads.@spawn begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) their usage is somewhat 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 码力 | 2058 页 | 7.45 MB | 3 月前3
 Julia 1.7.0 Documentationcalled Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task 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 码力 | 1378 页 | 4.74 MB | 1 年前3
 Julia v1.7.3 Documentationcalled Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task 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 码力 | 1378 页 | 4.74 MB | 1 年前3
 Julia 1.7.2 Documentationcalled Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task 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 码力 | 1378 页 | 4.74 MB | 1 年前3
 Julia 1.7.1 Documentationcalled Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end) Task 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 码力 | 1378 页 | 4.74 MB | 1 年前3
 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
共 87 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 9
 













