./pubsub server ipc:///tmp/pubsub.ipc & server=$! && sleep 1 ./pubsub client ipc:///tmp/pubsub.ipc client0 & client0=$! ./pubsub client ipc:///tmp/pubsub.ipc client1 & client1=$! ./pubsub client ipc:///tmp/pubsub.ipc client2 & client2=$! 1. 2. 3. 4. 输出结果 ...
Name Last commit message Last commit date Latest commit wanghaEMQ and JaylinYu * NEW [quic] Only check substream 3 and 4 if they need to be reopen. Nov 7, 2024 934a8f0·Nov 7, 2024 History 5,306 Commits .github Disable TLS tests on Windows due to downrev vcpkg mbed ...
(Protocol::Sub0).unwrap();client.dial(ADDRESS).unwrap();client.set_opt::<Subscribe>(vec![]);letp = thread::Builder::new().name("pub".to_string()).spawn(move||publish(server)).unwrap();lets = thread::Builder::new().name("sub".to_string()).spawn(move||subscribe(client))....
fixesnanomsg#461Context support for SUB Feb 27, 2019 src wrong return type in fallback atomic op Jun 5, 2019 tests fixesnanomsg#937Memory Leak in wsstream May 20, 2019 tools/nngcat added option --msgpack to static nng_optspec opts to match documentation ...
fixesnanomsg#461Context support for SUB Feb 27, 2019 src wrong return type in fallback atomic op Jun 5, 2019 tests fixesnanomsg#937Memory Leak in wsstream May 20, 2019 tools/nngcat added option --msgpack to static nng_optspec opts to match documentation ...
txaio = &p->substreams[nni_random()%2 + 2].saio; else if (nni_msg_get_type(msg) == CMD_SUBSCRIBE) { @@ -1305,7 +1305,6 @@ mqtt_quictran_pipe_recv_cancel(nni_aio *aio, void *arg, int rv) static void mqtt_quictran_pipe_recv_start(mqtt_quictran_pipe *p, nni_aio *aio...
fixesnanomsg#461Context support for SUB 3 years ago src Add option for preferring new messages on SUB0 3 years ago tests changewww.example.comSHA1 hash (document was updated 2019-10-17) 3 years ago tools/nngcat added option --msgpack to static nng_optspec opts to match documentation ...
fixesnanomsg#461Context support for SUB Feb 27, 2019 src fixesnanomsg#970TCP connections through docker-proxy do not reconnect Sep 25, 2019 tests fixesnanomsg#937Memory Leak in wsstream May 20, 2019 tools/nngcat added option --msgpack to static nng_optspec opts to match documentation ...
NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery. The API frees the programmer from worrying about...