办主!!!请进!!
现在的UDP登录包是 460?! 还是 416?!另外是不是UDP登录包和TCP登录包的区别就在于TCP开头多了两个字节?!
/** QQ UDP packet header length*/
const int QQ_UDP_HEADER_LENGTH = 7;
/** QQ TCP packet header length */
const int QQ_TCP_HEADER_LENGTH = 9;
/** QQ packet tail length*/
const int QQ_TAIL_LENGTH = 1;
/**the number of send times*/
const int QQ_ACK_PACKET_SEND_TIME = 4;
/** QQ packet maximum size*/
const int MAX_PACKET_SIZE = 65535;
/** the maximum bytes to send at once*/
const int MAX_SEND_IM_SIZE = 400;
/**QQ key length*/
const int QQ_KEY_LENGTH = 16;
/** QQ login datalength */
const int QQ_LOGIN_DATA_LENGTH = 416;
those should be all right, otherwise, nobody can logged in using Eva.
:) 呵喝~~见鬼了~
页:
[1]