socket方法

来源:互联网 发布:网络编程视频教程 编辑:程序博客网 时间:2024/06/05 13:30
Socket.getPort(); // 获取客户端的端口
Socket.getInetAddress(); //获取客户端的地址信息返回InetAddress对象
原创粉丝点击