|
|

楼主 |
发表于 2006-2-9 11:40:56
|
显示全部楼层
在 3.2 的源代码 src/header_info.h 中改下协议
代码:
........
#ifndef _QQ_HEADER_INFO_H_
#define _QQ_HEADER_INFO_H_
#include <glib.h>
#define QQ_UDP_HEADER_LENGTH 7
#define QQ_TCP_HEADER_LENGTH 9
#define QQ_PACKET_TAG 0x02 // all QQ text packets starts with it
#define QQ_PACKET_TAIL 0x03 // all QQ text packets end with it
//#define QQ_CLIENT 0x0b37 // QQ2003iii build 0304, Aprili 05 update
#define QQ_CLIENT 0x0B35 //test 1/23/2006
// list of known QQ commands
...........................
把 #define QQ_CLIENT 定义为 0x0B35 这个低一点版本的协议就行了 |
|