-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotocol.txt
20 lines (20 loc) · 1.45 KB
/
protocol.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
############################ MESSAGE FORMAT #############################
# AUTHOR #
# RECIPIENT #
# MESSAGE_TYPE #
# MESSAGE #
# #
# Where #
# AUTHOR is the source user id (or 0 for new user) #
# RECIPIENT is the destination user id (0 for server) #
# MESSAGE_TYPE is the message type. Possible values are: #
# 0 for CREATE_USER #
# 1 for DELETE_USER #
# 2 for LOGIN #
# 3 for LOGOUT #
# 4 for FORWARD #
# MESSAGE is dependent on the type as follow: #
# for 0,1,2: PASSWORD #
# for 3: OMMITED #
# for 4: text #
#########################################################################