我查了下DatagramSocket的api帮助中好像没有说明怎么指定发送端口的 DatagramSocket(int port)和bind(SocketAddress addr) 都是指定接收端口的吧, Dat 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交