里面会产生一些乱码,这是因为
MSN Messenger命令使用纯ASCII码。对非ASCII码字符使用URL编码。命令的语法是
XXX[TrID PARAM1 PARAM2…]
错 误
无论是由于客户端发出的命令无效,参数无效,还是其他什么原因,服务器可以返回一个错误。格式为
XXX[TrID]
测试开始:
ns.last:2006-07-25T02:15:36.943-07:00 ns.last:2006-07-25T02:15:36.943-07:00 ns.lastFN:wangdanyang@hotmail.com
Waiting for the response….
准备初始化
开始初始化
第1步:
=> VER 1 MSNP10 MSNP9 CVRO
<= VER 1 MSNP10 MSNP9
processVER被调用
第2步:
=> CVR 2 0×0412 Windows_XP 5.1 x86 MSNMSGR 6.2.0605 MSMSGS wangdanyang@hotmail.com
<= CVR 2 1.0.0000 1.0.0000 1.0.0000 http://msgr.dlservice.microsoft.com http://messenger.msn.com/ko
processCVR被调用
第3步:
=> USR 3 TWN I wangdanyang@hotmail.com
<= XFR 3 NS 207.46.2.21:1863 0 65.54.239.210:1863
processAuth被调用
开始初始化
第4步:
=> VER 4 MSNP10 MSNP9 CVRO
<= VER 4 MSNP10 MSNP9
processVER被调用
第5步:
=> CVR 5 0×0412 Windows_XP 5.1 x86 MSNMSGR 6.2.0605 MSMSGS wangdanyang@hotmail.com
<= CVR 5 1.0.0000 1.0.0000 1.0.0000 http://msgr.dlservice.microsoft.com http://messenger.msn.com/ko
processCVR被调用
第6步:
=> USR 6 TWN I wangdanyang@hotmail.com
<= USR 6 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1153933119,kpp=1,kv=7,ver=2.1.6000.1,rn=Sq6ypChE,tpf=9c0a36ea5ee2873ea2e0b3a89583f9fa
processAuth被调用
第7步:
=> USR 7 TWN S t=7iBq0uwdMCnhlR9P9ow2juiQiBs9QA350PzVooKUeLz1kpb4ZMfnAAHpmSp5IamPqRDKrRAwwkBpkrkGeXADFqajI4A7a!xiTrxR*RvsRlzVpqeRI5tRp5DF5Gaspnw904&p=7EkPmn1FAGgzjhEuKmos7rsB5dJSortxqqAc5ilbAXRVhQq*jygw2owTQNTKs0VC2nzMi6a7LlzxlwXv3XpMUAY*kh6DOKv!sYaF29vUU*QBg3Gz2vJTwOCmSqupRRG*0C!ZCPQIbPRrgclRyz1NjRyXMAJBa*lCWuoHu0H!rOyIJEK2i98IRiJDy0R3CRYFGy
<= USR 7 OK wangdanyang@hotmail.com 1 0
processLogon被调用
第8步:
=> SYN 8 2006-07-25T02:15:36.943-07:00 2006-07-25T02:15:36.943-07:00
wangdanyang@hotmail.com Login OK
<= MSG Hotmail Hotmail 523
<= SYN 8 2006-07-25T02:15:36.943-07:00 2006-07-25T02:15:36.943-07:00
judgeSerial被调用
setMyStatus设置自己的状态
第9步:
=> CHG 9 NLN
<= CHG 9 NLN 0
processCHG被调用
第10步:
=> CHG 10 NLN 0
<= MSG Hotmail Hotmail 219
<= NOT 384
<= <NOTIFICATION ver=”2″ id=”2″ siteid=”0″ siteurl=”http://g.msn.com/”><TO name=”wangdanyang@hotmail.com” pid=”0×0:0×0″/><MSG pri=”1″ id=”2″><ACTION url=”5mezh_cn/80″/><SUBSCR url=”5mezh_cn/80″/><BODY lang=”1042″ icon=”"><TEXT>????? ? ?? ???? ???, ?? ??? Windows Live(TM) Messenger? ????????.
<= </TEXT></BODY></MSG></NOTIFICATION>CHG 10 NLN 0
<= CHL 0 11721415531566163834
<= QRY 11
>> 本文固定链接: http://www.vcgood.com/archives/1150