ÈçºÎÔÚwmÉÏʵÏÖCDMAµÄwapͨÐÅ
ÎÒÔÚwmÉÏÓõçÐŵÄCDMAÍøÂ磬wap·½Ê½ÁªÍø£¬Á¬µÄÊÇ10.0.0.200£¬µ«ÊÇÿ´Î·¢ËÍÍêÊý¾Ýºó£¬½ÓÊÕµ½-1µÄ´íÎ󣬲»ÖªµÀΪʲô£¬·¢Ë͵İüµÄ¸ñʽÈçÏ£º
POST /sdread/portal.do?Id=0 HTTP/1.1
X-Online-Host: st30.sdread.net:80
Content-Type: application/x-www-form-urlencoded
User-Agent: Nokia7610/2.0 (6.0525.0ch) SymbianOS/7.0s Series60/2.1 Profile/MIDP-2.0 Configuration/CLDC-1.0
profile: http://nds1.nds.nokia.com/uaprof/N7610r100.xml
x-wap-profile: "http://nds1.nds.nokia.com/uaprof/N7610r100.xml"
Connection: close
Content-Length: 63
Host: 10.0.0.200:80
channel=kdbmshsq020aw&version=3.4&ua=TN73&userId=-1&password=-1
-1µÄ´íÎóÊÇÖ¸½ÓÊÕµ½·þÎñÆ÷·µ»ØµÄ´íÎóÂð¡¡·þÎñÆ÷ÓÐûÓнÓÊÕµ½ÊÖ»úµÄÇëÇ󣿡¡Host:10.0.0.200:80ºóÃæ¸ùÉÏ/r/n/r/nÖ®ºóÂíÉϸúÊý¾ÝÒ»°ã¶¼ÊǸôÒ»ÐоÍÊÇ£¬ÄãÊDz»ÊÇÓÃÁ˼¸¸ö/r/n/r/nÁË£¿
°ÑÄã·¢Ë͵ĴúÂëÌùÉÏ£¬Ö»¿´Õâ¸ö²»Ì«ºÃ·ÖÎö£¬Ö±½Ó¿´´úÂë°É
ÁªÍøµÄ´úÂëÌ«¶àÁË£¬ÎÒ·¢Ë͵ÄÊý¾Ý¶¼ÊDZðÈË´«½øÀ´µÄ£¬\r\nÓ¦¸ÃûÎÊÌâ¡£ÎÒÏ£ÍûÖªµÀ£¬µçÐŵÄwap´úÀí·þÎñÆ÷¸úÒƶ¯µÄwapÉÏÍøÓÐûÓÐɶÇø±ð£¬Òƶ¯ÔÚ±ê×¼µÄhttpÐÒé»ù´¡ÉÏÔö¼ÓÁËX-Online-HostÕâ¸ö×ֶΣ¬¶øµçÐŵÄcdma£¬wapÁªÍøÓÐûÓÐʲôÔö¼ÓµÄ×ֶΡ£
°üµÄ¸ñʽ¸ÄÁËһϣ¬ÊÕµ½µÄÄÚÈݲ»Ò»ÑùÁË£º
POST /sdread/portal.do?Id=0 HTTP/1.1
X-Online-Host: st30.sdread.net:80
Content-Type: application/x-www-form-urlencoded
User-Agent: Nokia7610/2.0 (6.0525.0ch) SymbianOS/7.0s Series60/2.1 Profile/MIDP-2.0 Configuration/CLDC-1.0
profile: http://nds1.nds.nokia.com/uaprof/
Ïà¹ØÎÊ´ð£º
ÓõÄÊÇMTK_6235_09A°æ±¾£¬ÓÃsocketʵÏÖhttp·¢ËÍÇëÇó¸ø·þÎñÆ÷£¬ÄܽÓÊÕµ½·þÎñÆ÷·µ»ØµÄ²¿·ÖÊý¾Ý£¬ÓõÄÊDZ±¾©ÁªÍ¨µÄ¿¨£¬ÓÃuniwap·½Ê½ÁªÍø£¬ÊÕµ½µÄÏìÓ¦¸ñʽÈçÏ£º
HTTP/1.1 200 OK
Content-Type: application/octet-str ......
Windows Mobile C++
ÈçºÎ½¨Á¢WAP ÍøÂç(ÓôúÂë), ÈçºÎÏÂÔØÎļþͨ¹ýWAP ÍøÂç.
ÊÔ¹ýºÜ¶àAPI(URLDownloadToFileW) ¶¼²»Îȶ¨, ÓÐʱ³É¹¦, ÓÐʱʧ°Ü.
ÄÄλÅóÓÑ×ö¹ý, ¿ÉÒÔ¸øÔ´´úÂë×îºÃ.
cmwapÍøÂ粦ºÅ¿ÉÒԲλáconnecti ......
¿Í»§ÓдóÔ¼20¸öwebÍøÕ¾ÐèҪת»»ÎªwapÍøÕ¾£¬µ«ÊÇÎÒÃDz»ÏëÒ»¸öÒ»¸öÍøվȥ¸øËûÃÇ¿ª·¢£¬Ï£ÍûÕÒÒ»¸öÄÜ×Ô¶¯×ª»»µÄϵͳ£¬ÏµÍ³ÄÜʵÏÖ90%×óÓÒµÄ×Ô¶¯×ª»»£¬Ê£ÏµÄС²¿·ÖÄÚÈÝÔÙ×ö¶¨ÖƵ÷Õû¡£
ÇëÎÊÓÐûÓÐÕâÑùµÄϵͳ£¿
Èç¹ûÓ ......
ʹÓÃvs.net 2008¿ª·¢WAPÍøÕ¾£¬Í¨¹ýµçÄÔ·ÃÎÊʱ£¬1¡¢2ÃëÖÓ¿ÉÒÔÏÔʾ³ö½á¹û£»Í¨¹ýÊÖ»ú·ÃÎÊʱҪ10Ãë×óÓÒ²ÅÄÜÏÔʾ½á¹û¡£ÔõôÌá¸ßÊÖ»ú·ÃÎÊʱµÄËٶȣ¿
IISÅäÖõÄWAPÍøÕ¾ÓëWEBÍøÕ¾ÓÐʲôÇø±ð£¿
ÓÑÇéÖ§³Ö
û¾Ñé
......
ͨ¹ýÈí¼þ½ÓÊÕµ½Êý¾Ý¿âSQL SERVER 2005µÄ¶ÌÐÅÏ¢¡£ÓÃÊÖ»ú½ÓÊÕµÃÖªÊÇWAP PUSH¡£
Êý¾Ý¿âÖнÓÊÕµ½µÄ´úÂ룺
0029 0006 0006 0003 00AE 0081 00EA 008D 00CA 0002 0005 006A 0000 0045 00C6 0008 000B 0003 0068 0074 ......