将通信地址和端口封装为Socket格式的地址;InetAddress.getByName()函数可做域名解析;SocketAddress是一个抽象类,InetSocketAddress是其子类;参数remotePort是整数类型

  尔雅 智慧树 mooc


+
账户
更新
搜索
帮助
主页