首页 新闻 会员 周边
2
回答数

回答被采纳 10 java socket

//1.建立客户端的Socket连接,指定服务器的地址和端口 Socket socket=new Socket("localhost",80); //2.得到Socket的读写流 OutputStre