IMAPPALE project
Client server-side communication protocol
(1.0.0)
Agreement formulated: loneliness into double .NET
2004
year
9
month
twenty two
day
table of Contents
1 Communication protocol introduction ... - 1 -
2 clients to server-side communication protocol ... - 1 -
2.1 Application User Registration ... - 1 -
2.2 Application Login ... - 2 -
2.3 Application View friends information ... - 3 -
2.4 Apply to modify your information ... - 3 -
2.5 Apply to find users ... - 4 -
2.6 Application Switch User Status ... - 5 -
2.7 Application to get a list of friends ... - 6 -
2.8 Application to get online list ... - 6 -
2.9 Apply to upload friends Group ... - 6 -
2.10 Apply to download friends group ... - 7 -
2.11 Apply to add users ... - 7 -
2.12 Application is added as a friend reply ... - 8 -
2.13 Add as Friend Notice Reply ... - 8 -
2.14 Apply to delete users ... - 9 -
2.15 System Advertising Message Reply ... - 10 -
2.16 System Maintenance Message Reply ... - 10 -
2.17 System General Message Reply ... - 11 -
2.18 Friends Loop Notification Reply ... - 11 -
3 Server-to-Client Communication Agreement ... - 11 -
3.1 Application User Registration Reply ... - 11 -
3.2 Apply Login Reply ... - 12 - 12 - 12 -
3.3 Application View friends data Reply ... - 13 -
3.4 Application to modify your own information Reply ... - 14 -
3.5 Application Find User Reply ... - 14 -
3.6 Application Switch User Status Reply ... - 15 -
3.7 Application to get a list of friends reply ... - 15 -
3.8 Application to get online list reply ... - 16 -
3.9 Application Upload Friends Group Packet Reply ... - 17 -
3.10 Application Download Friends Group Reply ... - 17 -
3.11 Application Add User Reply ... - 18 -
3.12 Application is added as a friend ... - 18 -
3.13 Add as Friend Notice ... - 19 -
3.14 Application Remove User Reply ... - 19 -
3.15 System Advertising Message ... - 20 -
3.16 System Maintenance Message ... - 21 -
3.17 System General Messages ... - 21 -
3.18 Friends Loop Notification ... - 21 -
4 clients to client communication protocol ... - 22 -
4.1 Send Message ... - 22 -
4.2 Send a message Reply ... - 23 -
5 Server to Server Communication Agreement ... - 23 -
6 Schedule Information ... - 23 -
6.1 Schedule A. - 23 -
6.2 Schedule B. - 23 -
6.3 Schedule C. - 23 -
6.4 Schedule D .. - 23 -
6.5 Schedule E. - 23 -
1 Introduction to the communication protocol
The basic format is as follows:
Packet Type | Compatible Version | Target Address | Send Address | Packet Length | Message Contents | Key | Check the word
Packet Type: With () includes, Group702922_imapple starts, and then adds the underscore and eight-bit tens6 credit type numbers. The first and second bits of eight hexadecimal represent the type of packet. Terminal 10 indicates that the client is sent to the server side, 20 indicates that the server side is sent to the client, 30 indicates that the client is sent to the client, 40 indicates that the server side is sent to the server side. The third represents the application / reply type. Terunter 0 indicates the type of application, 1 indicates the type of reply. The fourth place is empty. The sixth nineth represents a decimal number. Example: (Group702922_imapple_10000001), (group702922_imapple_20000002)
Compatible version: With () includes, software is referred to as version number, multiple versions are directly associated, separated by ///. The software is referred to as the next line between the version number.
(IMapple2004_
1.0.0
///IMApple2004_1.0.5///iMapple2004_2.0.5)
Target Address: In () includes, IP address and port number.
Example: (218.90.145.251:64737)
Send addresses: () includes an IP address and port number.
Example: (218.90.145.251:64737)
The length of the message: () includes, fixed length. Here, use ten bytes of hexadecimal representation length.
Example: (00000001F4) represents 500 bytes.
The content consisting of messages: determined by the specific content.
Key: () includes, fixed length. This means to express a key with a hexadecimal of ten bytes.
Check the word: () includes, fixed length. Here, use one byte hexadecimal to check the word.
Note: This segmentation is characterized by "|", the real separator is a string associated with four ASCII code values: 0x0 0x1 0x2 0x3.
2 clients to server-side communication protocol
2.1 Application User Registration
1. Packet type number:
10000001
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Email * Nickname * Gender * Birthday News School * Occupation * Blood Type * Personal Homepage * Personal Remarks * Country - province * City * Postal Codes * Public Information * Contact Address * Mobile Number * Phone Number * Authentication * IMAPPLE password * Password question * Password answer * Alternate information
3. Description:
a) email represents the user's Email mailbox. This email will be associated with the IMAPPLE number obtained after the user registration.
b) nickname represents the user's nickname. This nickname will be identified by the IMAPPLE number and the email. Will be displayed directly to other users.
c) Gender represents the gender of the user. 0 means unknown, 1 means male, 2 means women.
d) Birthday represents the birthday of the user.
e) Graduation school expressed the expert's graduation school. If the user does not fill this message, it will be represented by Nothing.
f) The occupation represents the occupation of the user. If the user does not fill this information, it will be represented by Nothing. g) Blood type representation of the blood type of the user. 0 means unknown, 1 denotes a type A, 2 means a B type, 3 represents O-form, 4 represents the AB type.
h) The Personal Homepage Represents the user's personal homepage. If the user does not fill this information, it will be represented by Nothing.
i) Personal note represents the user's personal note. If the user does not fill this information, it will be represented by Nothing.
j) The national area represents the country code in which users are located. 0 means unknown, 1 means China.
K) The province represents the user's quotation code. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
l) The city represents the city code of the user. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
m) The post number represents the post number where the user is located. If the user does not fill this information, it will be represented by Nothing.
n) Whether public information indicates whether the user discloses some users. 0 Express completely confidentiality, 1 means it is disclosed to a friend, and 2 is fully disclosed.
o) The contact address represents the contact address of the user. If the user does not fill this information, it will be represented by Nothing.
p) The mobile phone number represents the user's mobile phone number. If the user does not fill this information, it will be represented by Nothing.
Q) The phone number represents the phone number of the user. If the user does not fill this information, it will be represented by Nothing.
r) Authentication indicates that other users apply for authentication mode. 0 means that anyone is allowed to add me as a friend, 1 means that you need authentication to add me to add me, 2 Do not allow anyone to add me as a friend.
s) The IMAPPLE password represents the corresponding password of the IMAPPLE number application for the user.
t) The password problem represents the question problem when the user retrieves the password.
u) Password answers indicate the answer to the question when the user retrieves the password.
v) Alternate information is used to store some alternate information. If there is no option, use nothing.
w) This sideware is represented by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
x) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
Y) The right part of the entire message content is included here: 0xA 0xB. In the example, "") "is used.
4. Example:
a) message content
(Benlee_wx_js@tom.com) Lonely Double .NET * 1 *
1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, hahaha * 1 * 1 * 1 * 214000 * 1 * Wuxi * Nothing * nothing * 1 * 0000 * 000000 * 000000 * Nothing)
b) Complete agreement
(Group702922_imapple_10000001) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) | (00000001F
4) | (Benlee_wx_js@tom.com) Lonely Double .NET * 1 *
1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, Hahaha * 1 * 1 * 1 * 214000 * 1 * Wuxi * Nothing * Nothing * 1 * 00000 * 000000 * 000000 * Nothing) | (Xxxxxxxxx) | (x)
2.2 Apply for login
1. Packet type number:
10000002
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Login method * login type * imapple number (or email) * login password * Reply content * Alternate information
3. Description
a) Login method represents a user login method. Including 1 means logging in with IMAPPLE number, 2 means logging in with an email.
b) The login type represents the user login type. Including 0 means the lower line, 1 means that the upper line, 2 indicates that stealth, 3 indicates that leaving.
c) The imapple number indicates the IMAPPLE number assigned by the service when the user is registered. The email address represents the user mailbox associated with the user IMAPPE number when the user registers.
d) Login password represents the user's login password.
e) Reply content means that if the login type is left, the reply content fills in the automatic reply content. If the login type is online or stealth, the reply content Nothing is represented.
f) Alternate credit is used to store some alternate information. If there is no option, use nothing.
g) This segmentation is represented by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
h) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
i) A string of the two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example
a) message content
(1 * 1 * 00000001 * 0000 * Nothing * Nothing)
(2 *3*benlee_wx_js@tom.com *000000* I am going to the rice, come back soon! * Nothing)
b) Complete agreement
(Group702922_imapple_10000002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) | (00000001F
4) | (1 * 1 * 00000001 * 000000 * Nothing * nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (2 *3*benlee_wx_js@tom.com *000000* I am going to the rice, come back! * Nothing) | (xxxxxxxxx) | (x)
2.3 Application View friends
1. Packet type number:
10000003
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * Friends iMapple Number * Alternate Information
3. Description:
a) IMAPPLE number indicates that his iMapple number
b) Friends Imapple Number Indicates the iMapple number of the friend who is viewed.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 * 00000002 * Nothing)
b) Complete agreement
(Group702922_imapple_10000003) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 00000002 * Nothing) | (xxxxxxxxxx) | (x)
2.4 Apply for amendments to your information
1. Packet type number:
10000004
2. The content consisting of messages: The entire message content is included with left and right separators. (See the article) IMAPPLE number * Email * Nickname * Gender * Birthday * Graduation School * Professional * Blood Type * Personal Homepage * Personal Remarks * Country Region * Provincial * City * Postal Codes * Whether public information * Contact address * Mobile Number * Phone Number * Authentication * IMAPPLE password * Password Question * Password answer * Alternate information
3. Description:
a) The imapple number represents the user's IMAPPLE number.
b) email represents the user's Email mailbox. This email will be associated with the IMAPPLE number obtained after the user registration.
c) nickname represents the nickname of the user. This nickname will be identified by the IMAPPLE number and the email. Will be displayed directly to other users.
d) Gender represents the gender of the user. 0 means unknown, 1 means male, 2 means women.
e) Birthday represents the birthday of the user.
f) Graduation school expressed his customer's graduation school. If the user does not fill this message, it will be represented by Nothing.
g) The occupation represents the occupation of the user. If the user does not fill this information, it will be represented by Nothing.
h) Blood type indicates the blood type of the user. 0 means unknown, 1 denotes a type A, 2 means a B type, 3 represents O-form, 4 represents the AB type.
i) The personal homepage represents the user's personal homepage. If the user does not fill this information, it will be represented by Nothing.
j) Personal note represents the user's personal note. If the user does not fill this information, it will be represented by Nothing.
K) National District represents the country code in which users are located. 0 means unknown, 1 means China.
l) The province represents the user's quotation code. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
m) City represents the city code of the user. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
n) The post number represents the post number where the user is located. If the user does not fill this information, it will be represented by Nothing.
o) Whether public information indicates whether the user discloses personal information for other users. 0 Express completely confidentiality, 1 means it is disclosed to a friend, and 2 is fully disclosed.
p) The contact address represents the contact address of the user. If the user does not fill this information, it will be represented by Nothing.
Q) The mobile phone number represents the user's mobile number. If the user does not fill this information, it will be represented by Nothing.
R) The phone number represents the phone number of the user. If the user does not fill this information, it will be represented by Nothing.
s) Authentication indicates how other users apply to add as a friend. 0 means that anyone is allowed to add me as a friend, 1 means that you need authentication to add me to add me, 2 Do not allow anyone to add me as a friend.
t) The IMAPPLE password represents the corresponding password of the IMAPPLE number of the user.
u) Password problem represents the question problem when the user retrieves the password.
v) The password answer indicates the answer to the question when the user retrieves the password.
w) Alternate information is used to store some alternate information. If there is no option, use nothing.
x) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
Y) The left partition of the entire message content is included here: 0x8 0x9. In the example, the right part of the entire message content is included in the reference, including the right part of the entire message content, and the string of the two ASCII code values. In the example, "") "is used.
4. Example:
a) message content
(00000001*Benlee_wx_js@tom.com) Lonely into double .NET * 1 *
1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, hahaha * 1 * 1 * 1 * 214000 * 1 * Wuxi * Nothing * nothing * 1 * 0000 * 000000 * 000000 * Nothing)
b) Complete agreement
(Group702922_imapple_10000004) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001*Benlee_wx_js@tom.com) Lonely into double .NET * 1 *
1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, Hahaha * 1 * 1 * 1 * 214000 * 1 * Wuxi * Nothing * Nothing * 1 * 00000 * 000000 * 000000 * Nothing) | (Xxxxxxxxx) | (x)
2.5 Apply to find users
1. Packet type number:
10000005
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * Other IMAPPLE number * 对 对 EMAIL * Metal nickname * Alternate information
3. Description;
a) IMAPPLE number represents his IMAPPLE number.
b) The other party imapple number represents the other party's IMAPPLE number. If you don't press this, use Nothing.
c) The other party email indicates the Email associated with the other party and the IMAPPLE number. If you don't press this, use Nothing.
d) The other party nickname represents the nickname of the other party. If you don't press this, use Nothing.
e) Alternate information is used to store some alternate information. If there is no option, use nothing.
f) The separator is indicated by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
g) The left partition of the entire message content is included here: 0x8 0x9. In the example, the string of the two ASCII code values is associated with the right part of the entire message content in the example ("Representation .h) here: 0xA 0XB. In the example, "") "is used.
4. Example
a) message content
(000000001 * 00000002 * Nothing * Nothing)
(000000001 * Nothing * nothing * small black)
b) Complete agreement
(Group702922_imapple_10000005) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (000000001 * 00000002 * Nothing * Nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000005) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (000000001 * Nothing * Nothing * Small black) | (xxxxxxxxxx) | (x)
2.6 Application Switching User Status
1. Packet type number:
10000006
2. The content consisting of the message consolidation includes the left and right separator. (See instructions)
IMAPPLE number * login type * Reply content * Alternate information
3. Description
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The login type represents the user login type. Including 1 means online, 2 means stealth, 3 means leaving.
c) Reply content means that if the login type is left, the reply content fills in the automatic reply content. If the login type is online or stealth, the reply content Nothing is represented.
d) Alternate credit is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used.
h)
4. Example:
a) message content
(00000001 * 1 * Nothing * Nothing) (00000001 * 3 * I am going to the rice, come back! * Nothing)
b) Complete agreement
(Group702922_imapple_10000006) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 1 * Nothing * Nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000006) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 3 * I am going to the rice, come back! * Nothing) | (xxxxxxxxx) | (x)
2.7 Application to get a list of friends
1. Packet type number:
10000007
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * * 备 * 备
3. Description:
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The application date represents the user's application to obtain a list date.
c) Alternate credit is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_10000007) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
2.8 Application to get online list
1. Packet type number:
10000008
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * * 备 * 备
3. Description:
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The application date indicates that the user's application is available online.
c) Alternate credit is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_10000008) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
2.9 Application Uploading Friends Group
1. Packet type number:
10000009
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * Friends Group Information * Alternate Information
3. Description:
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) Friends Group information represents group information, this packet information uses XML document format. (See the attached table in detail)
c) Alternate credit is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 * XXXXXXXXXX * NOTHING) b) Full Agreement
(Group702922_imapple_10000009) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * XXXXXXXXXXX * NOTHING) | (xxxxxxxxxx) | (x)
2.10 Apply for download friends group
1. Packet type number:
10000010
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * * 备 * 备
3. Description:
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The application date indicates that the user applies to download the friends group date.
c) Alternate credit is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_10000010) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
2.11 Apply to add users
1. Packet type number
10000011
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * 对 对 iMapple number * Application date * Alternate information
3. Description
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The other party imapple number represents the IMAPPLE number of the requested party.
c) The application date indicates the date of application of the user.
d) Alternate credit is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7. f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used.
4. Example
a) message content
(00000001 * 00000002 *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_10000011) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 00000002 *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
2.12 Application Please add a friend reply
1. Packet type number:
10100012
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Application Results * Result Information * Reply Time * Alternate Information
3. Description:
a) The result of the application represents the result of applying for the user, including 0 application failure, and 1 is successful.
b) Result information means that if the user is applied as a friend, if the application fails, the failure is filled in the reason. If the application is successful, use nothing in nothing.
c) The reply time indicates the time when the user reply is applied to the friend.
d) Alternate information is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing *
2004/1/1
9:30
: 30 * Nothing
(0 * Don't know you, don't let you add *
2004/1/1 9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_10000012) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) | (00000001F
4) | (1 * Nothing *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000012) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Don't know you, don't let you add *
2004/1/1 9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
2.13 Add as Friend Notice Reply
1. Packet type number:
10100013
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Reply results * Result information * Alternate information
3. Description:
a) Reply results indicate that the user replies to the results of the friend notification, including 0 reply failed, 1 reply successfully.
b) The result information indicates that when the user replies to the friend notification, if the reply fails, the reason for filling the failed here. If the reply is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client exception * Nothing)
b) Complete agreement
(Group702922_imapple_10000013) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000013) | (iMapple2004_1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client exception * Nothing | (xxxxxxxxxx) | (x)
2.14 Apply to delete users
1. Packet type number:
10000014
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * Other IMAPPLE number * Alternate information
3. Description:
a) IMAPPLE number represents the IMAPPLE number of the requester.
b) The other party imapple number represents the IMAPPLE number of the requested party.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 * 00000002 * Nothing)
b) Complete agreement
(Group702922_imapple_10000014) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 00000002 * Nothing) | (xxxxxxxxxx) | (x)
2.15 System Advertising Message Reply
1. Packet type number:
10100015
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Reply results * Result information * Alternate information
3. Description:
a) Reply results indicate that the user replies the result of the system advertisement, including 0 reply failed, 1 reply successfully.
b) The result information indicates that the user replies to the system advertisement, and if the reply fails, the failure is filled in. If the reply is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7. e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client exception * Nothing)
b) Complete agreement
(Group702922_imapple_10000015) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000015) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client exception * Nothing | (xxxxxxxxxx) | (x)
2.16 System Maintenance Message Reply
1. Packet type number:
10100016
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Reply results * Result information * Alternate information
3. Description:
a) Reply Result indicates the result of the user reply system maintenance message, including 0 reply failed, 1 reply successfully.
b) The result information indicates that the user replies the system maintenance message, if the reply fails, the reason for filling the failed here. If the reply is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client Abnormal * Nothing) b) Complete Agreement
(Group702922_imapple_10000016) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000016) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client exception * Nothing | (xxxxxxxxxx) | (x)
2.17 System General Message Reply
1. Packet type number:
10100017
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Reply results * Result information * Alternate information
3. Description:
a) Reply Result indicates the result of the user's regular message, including 0 replies fail, 1 reply is successful.
b) The result information represents the reason why the failure is filld by the user's reply system. If the reply is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client exception * Nothing)
b) Complete agreement
(Group702922_imapple_10000017) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing) | (xxxxxxxxx) | (x) (Group702922_imapple_10000017) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client exception * Nothing | (xxxxxxxxxx) | (x)
2.18 Friends Logging Reply
1. Packet type number:
10100018
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Reply results * Result information * Alternate information
3. Description:
a) Reply Result indicates the result of the friend on the line to notify the response, including 0 reply failed, 1 reply success.
b) Result information means that when the friend is on the line, if the reply fails, the reason for filling in the failed. If the reply is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client exception * Nothing)
b) Complete agreement
(Group702922_imapple_10000018) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_10000018) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client Abnormal * Noth | (xxxxxxxxxx) | (x) 3 Server-side to client communication protocol
3.1 Application User Registration Reply
1. Packet type number:
201 2011001
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Registration result * Result information * Alternate information
3. Description:
a) Registration results represent user application registration results. 0 means unsuccessful, 1 means success.
b) The result information indicates that when the user is registered, if the registration is successful, the return IMAPPLE number, if it fails, returns the reason for failure.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(0 * server busy * Nothing)
(1 * 00000001 * Nothing)
b) Complete agreement
(Group702922_imapple_20100001) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100001) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * 00000001 * Nothing | (xxxxxxxxxx) | (x)
3.2 Apply for login reply
1. Packet type number:
201 0002
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Login Results * Result Information * Alternate Information
3. Description:
a) The login results represent the result of the user's login, including 0 login failed, 1 login success.
b) The result information indicates that the user logs in, if the login failed reason. If the user is logged in, use Nothing in nothing. c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Server is full * Nothing)
b) Complete agreement
(Group702922_imapple_20100002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server is full * Nothing) | (xxxxxxxxxx) | (x)
3.3 Application View friends Data Reply
1. Packet type number:
201 00003
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
View Results * Email * Nickname * Gender * Birthday * Graduation School * Occupation * Blood Type * Personal Homepage * Personal Remarks * Country * Provincial * City * Postal Codes * Contact Address * Mobile Number * Phone Number * Alternate Information
3. Description:
a) View the result indication to see the result of viewing friends. 0 indicates failure, 1 means success. If you fail, all of the following messages are uniform.
b) email expresses the email information of your friend.
c) nicknames indicate a friend's nickname.
d) Gender represents the gender of the user. 0 means unknown, 1 means male, 2 means women.
e) Birthday represents the birthday of the user.
f) Graduation school expressed his team's graduation school. If your friend does not fill in this message, you will be represented by Nothing.
g) The occupation represents the occupation of your friends. If your friend does not fill this information, you will be represented by Nothing. h) Blood type expressed his friend's blood type. 0 means unknown, 1 denotes a type A, 2 means a B type, 3 represents O-form, 4 represents the AB type.
i) The personal home page represents a friend's personal home page. If your friend does not fill this information, you will be represented by Nothing.
j) Personal Remarks Represents a friend's note. If your friend does not fill this information, you will be represented by Nothing.
K) National District Represents Friends in Country Code. 0 means unknown, 1 means China.
l) The province expressed the province's provincial code. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
m) City represents friends in the city code in which you are in. 0 indicates unknown, other code, please refer to "IMAPPLE Item Client Server Data Type"
n) Postal code indicating the location of the friend. If your friend is not filled or confidential, use nothing.
o) The contact address represents the contact address of your friend. If your friend is not filled or confidential, use nothing.
p) The mobile phone number indicates the mobile phone number of your friend. If your friend is not filled or confidential, use nothing.
Q) The phone number indicates the phone number of your friend. If your friend is not filled or confidential, use nothing.
r) Alternate information is used to store some alternate information. If there is no option, use nothing.
s) This segmentation is based on "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
T) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
u) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1*Benlee_wx_js@tom.com) Lonely into double .NET * 1 *
1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, hahaha * 1 * 1 * 1 * 214000 * Wuxi * Nothing * Nothing * Nothing)
(0 * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing)
b) Complete agreement
(Group702922_imapple_20100003) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1*Benlee_wx_js@tom.com) Lonely Double .NET * 1 * 1980/1/1
* Wuxi Industrial School * Programmer * 2 * www.702922.net * Hahaha, hahaha * 1 * 1 * 1 * 214000 * Wuxi * Nothing * Nothing * Nothing) | (xxxxxxxxx) | (x)
(Group702922_imapple_20100003) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing * Nothing) | (xxxxxxxxxx) | (x)
3.4 Apply to modify your own information Reply
1. Packet type number:
201 0004
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Modify results * Result information * Alternate information
3. Description
a) The result of the modification represents the result of the user to modify its own information, including 0 modifications fail, 1 modification is successful.
b) The result information indicates that when the user modifies its own information, if the modification fails, the reason for filling the failed here. If the user modifies its data success, use Nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100004) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) | (00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100004) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server is busy * Nothing | (xxxxxxxxxx) | (x)
3.5 Apply to find user reply
1. Packet type number:
201 0005
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Find results * Result information * Alternate information
3. Description:
a) Find results indicate that the user finds the user's result, including 0 lookup failed, 1 lookup success.
b) The result information indicates that when the user finds the user, if the lookup fails, the reason for filling the failed here. If the user finds the user's success, return the other party's IMAPPLE number.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * 00000002 * Nothing)
(0 * Server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100005) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * 00000002 * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100005) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) | (00000001F
4) | (0 * Server is busy * Nothing | (xxxxxxxxxx) | (x)
3.6 Application Switch User Status Reply
1. Packet type number:
2010 1006
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Switching result * Result Information * Alternate Information
3. Description:
a) The switching result represents the result of the user switching state, including 0 switching failure, 1 handover is successful.
b) The result information represents the user's switching state, if the switch fails, the reason for filling the failed here. If the switching status user is successful, use nothing in Nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100006) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100006) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server is busy * Nothing | (xxxxxxxxxx) | (x)
3.7 Application to get a list of friends
1. Packet number type:
2012007
2. The content consisting of messages: The entire message content is included with left and right separators. (See the instructions) Application Results * Result Information * Alternate Information
3. Description:
a) Add the result that the result of the client application gets the list of friends, including 0 application failed, 1 is successful.
b) The result information indicates that the client application is a list of friends, and if the application fails, the reason for filling the failed here. If the application is successful, return to a list of friends, this list uses the XML document format. (See the attached table a)
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * xxxxxxxxxx * Nothing)
(0 * server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100007) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * xxxxxxxxx * nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100007) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
3.8 Application to get online list reply
1. Packet type number:
201 0008
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Application Results * Result Information * Alternate Information
3. Description:
a) The result of the application indicates the result of the client application to obtain online list, including 0 applications fail, 1 is successful.
b) The result information indicates that the client application is online, and if the application fails, the reason for filling the failed here. If the application is successful, return to a list of friends, this list uses the XML document format. (See the attached table B)
c) Alternate information is used to store some alternate information. If there is no option, use nothing. d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * xxxxxxxxxx * Nothing)
(0 * server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100008) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * xxxxxxxxx * nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100008) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
3.9 Application Upload Friends Group Response
1. Packet type number:
201 0009
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Upload result * Result information * Alternate information
3. Description:
a) Upload results indicate the result of the client uploaded friends group, including 0 upload failed, 1 upload success.
b) The result information indicates that the client is uploaded by friends, and if the upload fails, the reason for filling the failed here. If the upload is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing) (0 * server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100009) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100009) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
3.10 Apply to download friends group reply
1. Packet type number:
20100010
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Application Results * Result Information * Alternate Information
3. Description:
a) The result of the application indicates the result of the client application to download the friends group reply, including 0 application failure, 1 application success.
b) The result information indicates that the client application fails to fill in the reason if the application fails to apply. If the application is successful, return to friends group information, this list uses the XML document format. (See attached table D)
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * xxxxxxxxxx * Nothing)
(0 * server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100010) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * xxxxxxxxx * Nothing) | (xxxxxxxxxx) | (x) (Group702922_imapple_20100010) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
3.11 Application Add user reply
1. Packet type number:
201 00011
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Add result * Result Information * Alternate Information
3. Description:
a) Add the result that the result of the client application adds the user, including 0 application failure, 1 is successful.
b) The result information indicates that the client applies to add a user, and if the application fails, the failed reason is fill in. If the application is successful, use nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * server busy * Nothing)
a) Complete agreement
(Group702922_imapple_20100011) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100011) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing | (xxxxxxxxxx) | (x) 3.12 Application to add a friend
1. Packet type number:
20000012
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Other IMAPPLE number * * 备 * 备
3. Description:
a) The other IMAPPLE number represents the IMAPPLE number of the requested party.
b) The application date represents the date of applying for the other party.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_20000012) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
3.13 Add as Friend Notice
1. Packet type number:
20000013
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Notice Results * Result Information * Reply Time * Alternate Information
3. Description:
a) The result of the notification indicates the result of the other party's reply to add as a friend, including 0 notification failure, 1 notification success.
b) The result information indicates that when the other party replies to the application, if the notice fails, the failure is filld by the reason. If the notification is successful, use Nothing in nothing.
c) The reply time indicates the time when the other party replies to the app.
d) Alternate information is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used. 4. Example:
a) message content
(1 * Nothing *
2004/1/1
9:30
: 30 * Nothing
(0 * Don't know you, don't let you add *
2004/1/1 9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_20000013) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
(Group702922_imapple_20000013) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Don't know you, don't let you add *
2004/1/1 9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
3.14 Apply to delete user reply
1. Packet type number;
20100014
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Delete result * result information * Alternate information
3. Description:
a) Delete results indicate the result of the server-side deletion, including 0 deletion failed, 1 delete success.
b) The result information indicates that the server is deleted if delete fails, then fill in the reason for the failure. If you succeed, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * server busy * Nothing)
b) Complete agreement
(Group702922_imapple_20100014) | (iMapple2004_1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_20100014) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Server busy * Nothing) | (xxxxxxxxxx) | (x)
3.15 System Advertising Message
1. Packet type number:
20000015
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Advertising type * Advertising content * Send time * Alternate information
3. Description:
a) The type of advertisement indicates the type of advertisement released. The terminating type is as follows, 0 means IMAPPLE's own publicity advertisement, 1 represents public service advertisements, 2 indicates that the charge advertisement, 3 expressed free advertising.
b) The advertising content represents the content of the advertisement released. This content is scheduled to an XML document. (See the attached table e)
c) The transmission time indicates the release time of the published advertisement.
d) Alternate information is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(0 * xxxxxxxxxx *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_20000015) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * xxxxxxxxxx *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxx) | (x) 3.16 System Maintenance Message
1. Packet type number:
20000016
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Maintenance Type * Maintenance Information * Alternate Information
3. Description:
a) Maintenance type represents the type of server maintenance. The terminating type is as follows, 0 indicates that the server is fully maintained, 1 indicates server database maintenance, 2 indicates server log maintenance, 3 indicates server program maintenance, 4 indicates that the server program is upgraded.
b) Maintenance information indicates the specific information maintained by the server.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(0 * server will
2004
year
10
month
1
day
Comprehensive maintenance at 12:00, please pay attention! * Nothing)
b) Complete agreement
(Group702922_imapple_20000016) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * server will
2004
year
10
month
1
day
Comprehensive maintenance at 12:00, please pay attention! * Nothing | (xxxxxxxxx) | (x)
3.17 System General Message
1. Packet type number:
20000017
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Message Type * Message Information * Alternate Information
3. Description:
a) The message type represents the type of server general message. The tentative type is as follows, 0 means a general message.
b) The message information represents the specific information of the general message of the server.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used. 4. Example:
a) message content
(0 * xxxxxxxxxx * Nothing)
b) Complete agreement
(Group702922_imapple_20000017) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * xxxxxxxxxx * Nothing) | (xxxxxxxxxx) | (x)
3.18 Friends Loop Notice
1. Packet type number:
20000018
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Friends Imapple Number * Friends IP Address * Friends Port No * Alternate Information
3. Description:
a) Friends IMAPPLE number represents a friend's imapple number.
b) The friend IP address represents the IP address of your friend.
c) The friend port number indicates the port number of the friend.
d) Alternate information is used to store some alternate information. If there is no option, use nothing.
e) This segmentation is characterized by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
f) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
g) The right part of the entire message content is included here: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 * 202.102.2.141 * 64000 * Nothing)
b) Complete agreement
(Group702922_imapple_20000018) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * 202.102.2.141 * 64000 * Nothing) | (xxxxxxxxxx) | (x)
4 client-to-client communication protocol
4.1 Send a message
1. Packet type number:
30000001
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
IMAPPLE number * ourselves nickname * Message content * Send time * Alternate information 3. Description:
a) IMAPPLE number represents his IMAPPLE number.
b) I nickname my nickname.
c) The message content indicates the message content sent to the other party.
d) The transmission time indicates the local time of the send message.
e) Alternate information is used to store some alternate information. If there is no option, use nothing.
f) The separator is indicated by "*", and the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
g) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
h) A string of the two ASCII code values that includes two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(00000001 * loneliness into double .net * Hello! What is it do? *
2004/1/1
9:30
: 30 * Nothing
b) Complete agreement
(Group702922_imapple_30000001) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (00000001 * loneliness into dual .Net * Hello! What are you doing? *
2004/1/1
9:30
: 30 * Nothing) | (xxxxxxxxxx) | (x)
4.2 Send a message Reply
1. Packet type number:
30100002
2. The content consisting of messages: The entire message content is included with left and right separators. (See instructions)
Send result * result information * Alternate information
3. Description:
a) The send result represents the result of sending messages, including 0 transmission failure, 1 transmission is successful.
b) The result information represents the reason for the failure when sending a message. If the send is successful, use Nothing in nothing.
c) Alternate information is used to store some alternate information. If there is no option, use nothing.
d) The separator is represented by "*", the real separator is a string associated with four ASCII code values: 0x4 0x5 0x6 0x7.
e) The left partition of the entire message content is included here: 0x8 0x9. In the example, use symbol "(".
f) A string of the two ASCII code values of two ASCII code values herein: 0xA 0XB. In the example, "") "is used.
4. Example:
a) message content
(1 * Nothing * Nothing)
(0 * Client Abnormal * Nothing) b) Complete Agreement
(Group702922_imapple_30100002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (1 * Nothing * Nothing | (xxxxxxxxxx) | (x)
(Group702922_imapple_30100002) | (iMapple2004_
1.0.0
(218.90.145.251:64737) | (218.90.145.251:64737) |
00000001F
4) | (0 * Client exception * Nothing | (xxxxxxxxxx) | (x)
5 Server to Server Communication Agreement
6 Schedule Information
6.1 Schedule A
6.2 Schedule B
6.3 Schedule C
6.4 Schedule D
6.5 Schedule E