Also talk about BlackBerry Network connection: WAP 2.0 network connection

Source: Internet
Author: User
Tags error code socket

China Mobile/Telecom/Unicom WAP 2.0 gateway invariably,

Only HTTP protocol access is supported, i.e. "Wireless profiled http with WAP Proxy" inside the specification

TCPIP socket protocol Access is not supported, i.e. "Wireless profiled TCP with WAP Proxy" inside the specification


So, on top of the BlackBerry, there's no problem accessing http://www.baidu.com:80 with the WAP2 channel.


However, accessing socket://www.baidu.com:80 with the WAP2 channel returns the error code, as follows:

1) An error of type 401 occurred:unauthorized (chinatelecom)

2) 401 Unauthorized Request (from the China Unicom)

3) Zcache-control no cache. (China Mobile)


Note:

Although the WAP 2.0 channel above the BlackBerry does not have access to the socket, you can use the direct TCP channel of the BlackBerry (provided that the phone's options, advanced options, TCP IP is set up with the correct APN) to access the Internet network through the operator's network direct socket.


Reference:

The WAP 2.0 conformance release
Http://www.wapforum.org/what/technical.htm


Wireless profiled TCP specification
Wap-225-tcp-20010331-a

Ftp://po.istu.ru/public/docs/admin/protocols/wap/spec/WAP-225-TCP-20010331-a.pdf


Wireless profiled HTTP specification
Wap-229-http-20010329-a
Ftp://po.istu.ru/public/docs/admin/protocols/wap/spec/WAP-229-HTTP-20010329-a.pdf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.