Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Netty 在 TCP 方面确实有很好的文档记录,但我想尝试一个简单的 UDP 服务器-客户端示例,但没有找到任何好的代码。(主要是邮件列表和用户据称有错误代码)
有人愿意提供一些简单的例子吗?谢谢!
也许这会帮助你
https://github.com/normanmaurer/javamagazin-netty-ws/tree/master/src/main/java/me/normanmaurer/javamagazin/netty/examples/ws
它还引导一个简单的 udp 服务器