Query related to Connection type BIS-B Socket in Blackberry application

强颜欢笑 提交于 2019-12-08 13:37:26

问题


I am trying to establish BIS Socket connection. I am able to establish BIS Http connection from my service provider.

I have downloaded one chat application that checks network types supported by my device/service plan which has following list:

1)BIS-Http : OK
2)BIS-SOCKET :OK
3)BES-HTTP : NA
4)BES-SOCKET : NA
5)TCP-HTTP : BAD DNS
6)TCP-SOCKET : TIMED OUT

As I know direct TCP is not supported by my service provider. So I would like to use BIS-Socket connection.

Can anypne please help me in achieving this type of connectivity?


回答1:


Use of BIS-B connectivity is available to members of the Blackberry Developer Alliance program. Not being a member I can't tell you if if supports random socket connection or not.

Normal BIS access available through the API supports web protocols and is not a TCP/IP protocol between the Blackberry and the BIS. Hence the deviceSide= parameter in the connection stream. DeviceSide=true the Blackberry uses an internal TCP stack to establish a connection through direct access to the wireless carrier's access point (APN). DeviceSide=false (the default) the Blackberry sends the necessary data to the BIS (or BES) MDS server using a presumably proprietary protocol. The MDS server then establishes the TCP connection on behalf of the Blackberry.

If direct TCP is not available to you, and you can't use BIS-B, you will have to carry your data on top of an http connection. In most cases this is straight forward and works quite well.




回答2:


To use BIS you need pay $2000. Have you done that? how you know you're using BIS?



来源:https://stackoverflow.com/questions/1686338/query-related-to-connection-type-bis-b-socket-in-blackberry-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!