[Doubt] The main difference between CMWAP and CMNET and the scope of the forum for a while, and many friends have found that the difference between CMWAP and CMNET is still not very much. For some new software, someone often will ask "Can cmwap can be used?", I hope this article will solve this doubts for everyone. If you are a rookie or beginner, you may wish to jump directly to Section (4), see if I have the application can work in CMWAP's discrimination method; if you want to have a detailed understanding of CMWAP and CMNet, So, you will read the whole article; if you have the study of this problem, please don't know how to explain, I still confuse me a few questions. (1) Why have two access points? After reviewing a large amount of information online and after repeated attempts and exploration, I have a preliminary understanding of these two access methods provided by China Mobile. International, usually only one GPRS access method, why will China have CMWAP and CMNET two brothers? (MMS is a separate configured access point because MMS services need to connect dedicated servers, not discussing here.) In fact, CMWAP and CMNET are just two GPRS access methods for China's mobile people. The former is set up for mobile phone WAP, the latter is mainly for PC, laptop, PDA, etc., using GPRS Internet service. They do not have any difference in implementation, but because of the different positioning, CMWAP has some restrictions, and there is also a difference in tariffs. (2) What is WAP? WAP is just a GPRS application mode, which is related to GRPS access methods. The implementation of WAP applications is the mode of the "terminal WAP gateway WAP server", different from the "terminal server" of the terminal Internet. The main purpose is to complete the WAP-web protocol conversion through the WAP gateway to achieve the purpose of saving network traffic and compatible with existing web applications. The WAP gateway speaks from the perspective of technology, just a host that provides a proxy service, it does not have to be available by the network operator. But as far as I know, China Mobile GPRS network is currently only a unique WAP gateway: 10.0.0.172, China Mobile is available for WAP Browsing (HTTP) service. One thing to note that the WAP gateway and the general local area network gateway are different. The standard WAP gateway only implements the function of the HTTP agent, and does not complete the function of route, NAT and other local area network gateways. This determines the restrictions on it in the application. (3) China Mobile's restrictions on CMWAP In order to differentiate from both applications, China Mobile has a certain limit on CMWAP, mainly to access IP (10. *. * In the GPRS network when CMWAP access is entered (10. *. * . *) And cannot access the Internet via routing. (Small number of mobile networks may not have this limit.) We use CMWAP to browse the webpage on the Internet is implemented by the WAP gateway protocol or it provides the HTTP proxy service. When you say this, let me naturally think of our company's network, I believe many of my friends have a similar experience. The company's network does not provide routing and NAT on the gateway, just provide an HTTP agent that can access the external network. In this way, we cannot directly use non-HTTP protocols such as QQ, MSN (good connection to the HTTP proxy). CMWAP is also (4) applicable scope applicable scope is the most concerned issue. The CMNET has a complete Internet access, which is not much here, mainly let us take a look at CMWAP.
Because there is a limit that mentioned above, the scope of CMWAP is to see the support provided by the WAP gateway. At present, China Mobile's WAP gateway only provides HTTP proxy protocol (80 and 8080 ports) and WAP gateway protocols (9201 ports). (According to some netizens mentioned 1080 ports, it is also open, but it cannot be connected. This may be a SOCKS back door to mobile internal use. ^ _ ^). Therefore, only the following two conditions can be met to work in China's CMWAP access mode: 1. Application network request is based on the HTTP protocol. 2. The application supports the HTTP proxy protocol or WAP gateway protocol. How to distinguish whether an application's network request is based on the HTTP protocol? This problem is really acknowledging, and it is necessary to complete this to analyze by intercepting the communication packet of the application. Here, there are several simple methods to give the vast rookie friends: From the performance, if its network request is the form of the URL (URL), it is usually based on the HTTP protocol, such as a web browser; if it is connected, the server port is 80, then it may be based on HTTP protocol. If it is indeed accurate judgment, then please see the next condition. (Application of the second condition must be based on HTTP protocol) How to distinguish an application support HTTP proxy agreement or WAP gateway agreement? First, look at its options in its setup (usually an agent that is not specified on the S60 is an HTTP agent), if there is, it represents the HTTP proxy protocol. If not, you need to test the following steps: Remove the setup item of the proxy server in the advanced settings set by the GPRS Access Point: Server Address and Server Port (if the application can work normally, then it is based on the WAP gateway protocol, such as Java program, S60 built-in browser. If you do not work properly in this state, you can work properly after restoring the proxy server settings in the GPRS Access Point Advanced Settings, the application supports the HTTP proxy protocol (proxy settings from the system Take it). If you still don't work properly, then this application generally does not support HTTP proxy or WAP gateway protocol. Here you need Javaqq, which has two versions of socket and http. Now online flows The CMWAP's Javaqq is based on HTTP protocol. Take that Javaqq 2004, the startup screen is clearly written "Kjava QQ HTTP". The SIS version of QQ and AgileMessenger (S60 MSN client) are used Ordinary Socket connection method, there is no way to use CMWAP. Summary Mode of work in cmwap you can use: (1) Built-in browser: WAP Gateway Protocol (2) Opera Browser: HTTP Agent Agreement (with agent Setting) (3) Java program: WAP gateway protocol (4) Avantgo: HTTP proxy protocol (with proxy setting)