Professional Documents
Culture Documents
Assignment
Assignment
Message formats
Messages may vary in length. Each message starts with a 1 identifying character field to identify
the message type (the characters are cases sensitive), followed by 0 or more relevant data.
Each part or field of the message is separated from one another by a tab character.
identifying data data ............. data
character
Logout O
Message Y message1 \n
List Reply message2 \n
.................................
.................................
messagey \n
0-80 characters
A variable length list of messages or comments (as per blog message file) each terminated with
\n in reply to View Message List (M) request
Create C, blog-title
Blog
Assign new
X, blog-id blog id
View Blog B
List
Get all blog info
Z, blog-idi1, blog-title1,
blog-idi2, blog-title2, ...............
O
Logout
OK
+
Invalid Login
Client Server
L, user id, password
Login
invalid
-, LP password
Client Server