摘要: 在Java中使用InetAddress类代表IP 实例化InetAddress:两个方法:getByName(String host) 、 getLocalHost()两个常用方法:getHostName() / getHostAddress() 套接字编程的练习 //练习1:客户端发送信息给服务端 阅读全文
posted @ 2022-06-07 01:17 JayerListen 阅读(27) 评论(0) 推荐(0) 编辑