public class NettyUdpServer extends Object
public static void createServer(int port,
SocketChannelHandler channelHandler)
port - 服务端口channelHandler - 接收数据的channelHandler派生类public void bind(int port)
throws InterruptedException
Copyright © 2025. All rights reserved.