获取与我有传入套接字连接的设备的 BlackBerry 上的 IP 地址

发布于 2024-12-26 10:25:48 字数 228 浏览 2 评论 0原文

就像 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱要勇敢去追 2025-01-02 10:25:48

javax.microedition.io.SocketConnection 类有一个 getAddress() 方法,用于返回套接字连接上远程方的地址。

The javax.microedition.io.SocketConnection class has a getAddress() method to return the address of the remote party on a socket connection.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文