julia 1.10.10Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789)CHAPTER 21. NETWORKING AND STREAMS 291 join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() send(socket0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789)CHAPTER 21. NETWORKING AND STREAMS 291 join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() send(socket0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationTwo other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesTwo other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEVTwo other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 Beta4Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2047 页 | 7.41 MB | 3 月前3
Julia 1.12.0 RC1Two other handy string functions are repeat and join: julia> repeat(".:Z:.", 10) ".:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:..:Z:." julia> join(["apples", "bananas", "pineapples"], ", ", " and ") using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket() bind(socket, ip"0.0.0.0", 6789) join_multicast_group(socket, group) println(String(recv(socket))) leave_multicast_group(socket, group) data over UDP multicast, simply send to the socket. Notice that it is not necessary for a sender to join the multicast group. using Sockets group = ip"228.5.6.7" socket = Sockets.UDPSocket()CHAPTER 220 码力 | 2057 页 | 7.44 MB | 3 月前3
共 22 条
- 1
- 2
- 3













