摘要: 客户端代码: public class ClientDemo { public static void main(String[] args) throws IOException { //创建客户端Socket对象 Socket s= new Socket("192.168.50.76",2222 阅读全文
posted @ 2020-05-09 20:03 硬盘红了 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 客户端代码: public class ClientDemo { public static void main(String[] args) throws IOException { //创建客户端Socket对象 Socket s = new Socket("192.168.50.76",111 阅读全文
posted @ 2020-05-09 19:33 硬盘红了 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 客户端代码: public class ClientDemo { public static void main(String[] args) throws IOException { //创建客户端Socket对象 Socket s= new Socket("192.168.50.76",1234 阅读全文
posted @ 2020-05-09 18:08 硬盘红了 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 客户端代码: public class ClientDemo { public static void main(String[] args) throws IOException { //创建客户端Sokcet Socket s = new Socket("192.168.50.76", 1999 阅读全文
posted @ 2020-05-09 17:04 硬盘红了 阅读(273) 评论(0) 推荐(0) 编辑