获取与我有传入套接字连接的设备的 BlackBerry 上的 IP 地址
就像 Core Java 和 Android 中的方法一样,有没有办法知道在 BlackBerry 上向我发送套接字连接的设备或桌面的 IP 地址?
除了在 XML 标签中发送 IP 地址之外,因为需要有一个 API 来执行此操作...
我需要知道 BlackBerry 中的方法,匹配提供完整详细信息的 getSocketAddress() 或仅提供详细信息的 getINetAddress() IP 地址。
Like there are methods in Core Java and Android, is there any means to know the IP address of the device or desktop that sends me a socket connection, on BlackBerry?
This apart from sending the IP address in XML tags, as there is a need to have an API that does so...
I need to know methods in BlackBerry, matching getSocketAddress() which gives full detail, or getINetAddress() which only gives the IP address.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
javax.microedition.io.SocketConnection
类有一个getAddress()
方法,用于返回套接字连接上远程方的地址。The
javax.microedition.io.SocketConnection
class has agetAddress()
method to return the address of the remote party on a socket connection.