BlackBerry 上的套接字编程
我被困在黑莓客户端和java服务器之间创建套接字连接。我需要简单的示例代码,它扩展了黑莓示例代码中的套接字 API 示例。
我们有一个与 Android 系统通信的服务器,我们也需要它与黑莓客户端一起工作。
I am stuck creating a socket connection between blackberry client and java server. I need simple sample code which extends the socket API example from blackberry sample code.
We have a server that communicates with android systems and we need it to work with blackberry client as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉迟到了。由于评论长度,我在这里发表评论。 _screen.isDirectTCP() 不是 API 方法,因此我不确定此方法返回什么。但从方法名称/签名来看,我认为该方法仅用于检查设备上的 Direct TCP 连接是否可用。根据结果,应用程序将附加连接参数,例如“;deviceside=....”。
从网络传输文章中,
另请查看此链接,什么是 - 建立 HTTP 或套接字连接的不同方法。
Sorry for being late. And I am posting my comment here because of comment length. _screen.isDirectTCP() isn't an API method, so I am not sure what does this method return. But from the method name/signature I think this method is only used for checking whether Direct TCP connectivity is available or not on the device. Depending on the result, the application will append the connection parameter such as ";deviceside=....".
From the Network Transport article,
Also please have a look at this link, What Is - Different ways to make an HTTP or socket connection.