摘要: [详细解释] 可能WTK初始化WMAClient和ClientConnector时,必须先运行InetAddress.getLocalHost()来寻找localhost的IP地址。 但是你看 http://www.vf.utwente.nl/~vriesajk/j2me/java/net/InetAddress.html#getLocalHost() 它说了 “Throws: UnknownHostException - if no IP address for the host could be found. ” 所以,如果它没有能够找到IP地址的话,它就报告“localhost has no IP address”。 阅读全文
posted @ 2006-03-02 13:56 老兵笔记 阅读(1476) 评论(1) 推荐(0) 编辑