Commit Graph
3 Commits
Author SHA1 Message Date
jinronga 963b631754 refactor: introduce constants for default addresses and improve error handling in TCP examples (#7741)
- Added `DEFAULT_ADDR` constant to `chat.rs` and `echo-tcp.rs` for better maintainability.
- Enhanced error logging in `connect-tcp.rs` and `echo-tcp.rs` to include connection addresses.
- Improved peer management in `chat.rs` by automatically cleaning up disconnected peers.
2025-11-25 08:44:41 +02:00
Martin Grigorov 3eb515e1a7 examples: update outdated example name connect to connect-tcp (#7582)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 14:01:40 +08:00
Nicholas Skinsacos 1434b32b5a examples: improve echo example consistency (#7256) 2025-04-18 18:02:25 +03:30