我在其他类里面 怎么引用服务器程序已经监听的端口。
DatagramSocket ds = new DatagramSocket(1234);
我想在客户端程序里用ds.send();怎么引用?在线等啊服务器,端口,DatagramSocket