摘要:
public class UDPReceiveDemo { public static void main(String[] args) throws IOException { //创建UDP接收端套接字对象 DatagramSocket ds = new DatagramSocket(10086 阅读全文
摘要:
public class TCPrecevierDemo { public static void main(String[] args) throws IOException { //创建服务器端套接字对象 ServerSocket ss = new ServerSocket(10045); // 阅读全文