Open OICQ all communication protocols
Author: Tencent Release Date: 2002-3-2 Upload Date: 2002-3-10 Source: OICQ server
OICQ server system communication protocol
Protocol Description: Protocol by packet head (T) sender (T) Receiver (T) packet type (T) packet length (L) message content consisting of senders and recipients is within the system Program type, OICQ server 0x01, fax server 0x02, web server 0x03, print server is 0x04, chat server is 0x05, OICQ users are 0x0a.
OICQ User to OICQ Server Communication Protocol Guide (0x81 0x0A 0x01) Packet Type Packet Information Packet Description 0x01 Nickname (S) Portrait (M) User Password (S) Gender (T) Age ( T) Real Name (S) Country / Region (T) Province (T) City (S) Address (S) Zip Code (S) Education (T) Graduate School (S) Career ( T) Phone (S) Paging (S) Email (S) Hobbies (S) Description (S) Authentication (T) New User Registration, Authentication Used to add him to your friend Ask if the 0x02 service number (L) password (S) registration mode (T) old user registration is divided into 0 normal, 1 stealth 0x03 service number (L) other party service number (L) content (s) Send information to someone 0x04 service number (L) group number (L) content (s) broadcast information, group number = 0 is all 0x05 service number (L) friend service number (L) View friends data 0x06 service number (L) Group Name (s) Add Group 0x07 Service Number (L) Group Number (T) Group Name (S) Modify Group Name 0x08 Service Number (L) Group Number (T) Delete Group 0x09 Service Number ( L) Move number (t) {Friend service number (L) Destination group number (T)} Mobile group member 0x0a service number (L) start number (L) return number (T) lookup Sign (T) Search who online looks on the logo 1 = to find 2 = to find the 0x0b service number (L) SQL statement (s) Custom Find 0x0C Service Number (L) Friend Service No. (L) Add Friends 0x0D Service Number (L) Friend Service Number (L) Join Reason (S) Request to join your friend 0x0e service number (L) Friend Service Number (L) Delete Friends 0x10 Service Number (L) Display Mode (T) Change Display method 1 Online 2 hide 3 Overhard 4 Offline 0x11 Service Number (L) Monitoring Service Number (
L) Monitor someone talk 0x12 service number (L) nickname (s) portrait (M) User Password (S) Gender (T) Age (T) Real Name (S) Country / Region (T ) Province (T) City (S) Address (S) Zip Code (S) Education (T) Graduate School (S) Career (T) Phone (S) Page (S) Email (S) Hobbies (S) Description (S) Authentication (T) Change User Basic Information 0x13 Service Number (L) Friend Service Number (L) File Name (S) File Length (L) Request Send file 0x14 service number (L) Friend service number (L) Allow / Reject whether it allows send file 0x15 service number (L) friend service number (L) file content (b) Send file 0x16 service number (L) Connection Test Packet 0x17 Service Number (L) Friend Service Number (L) Consent Sign (T) Answer the other party request to join friends 0 = Reject 1 = consent
OICQ server to OICQ communication protocol packet message content packet Description 0x01 success / fail (T) service number (1 new user registration result returns 0x02 success / failure (T) group number (T) { Group Name (S) Group Number (T) Friend Number {Friend Service Number (L) Port Image Number (T) Friend State (T) Friend Nickname (s)] Old User Registration Results Returns Friend status 1 = online = 2 hidden = 3 免 免 4 Offline 0x03 Sign (T) Friend Service Number (L) Information (S) Information Type (T) Sign 1 = System 2 = User Send Message, Service Number = 0 is the system message 1 = user aware of your friends 2 = user a certain request you pass authentication 3 = user aassy agreed to your verification requirements 4 = User refused your verification request 0x04 Successful / Failure (T) Friend Service Number (L) Nickname (S) Portrait (M) Gender (T) Age (T) Real Name (S) Country / Region (T) Province (T) City (S) Address (S) Zip Code (S) Education (T) Graduate School (S) Occupation (T) Phone (S) Page (S) Email (S) Hobby ( S) Description (s) Friends information return 0x05 Success / Fail (T) Group Number (T) Group Name (S) Add Group Results Recycling 1/0 0X06 Success / Fail (T) Group Number (T) Group Name (s) modification group name results return 1/0 0X07 Success / fail (T) group number (T) delete group result returned 1/0 0x08 Success / fail (T) mobile group member results to send 1/0 09 success / Fail (T) online number (T) {service number (L) nickname (s) portrait (M) province (T) city (s)} lookup online personnel results return 0x0a success / failure ( T) Find a number of (t) {service number (L) nickname (s) portrait (M) province (T) city (s)} custom lookup results return (up to 50)