From 9b2e7086a1ea7e7a2de70a24a3847806d75fa250 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 27 Aug 2013 15:57:17 +0800 Subject: ptp v0.4a logout support --- server/piztor/ptp.rst | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/server/piztor/ptp.rst b/server/piztor/ptp.rst index cc0d30c..492a44f 100644 --- a/server/piztor/ptp.rst +++ b/server/piztor/ptp.rst @@ -1,4 +1,4 @@ -Piztor Transmission Protocol v0.4 +Piztor Transmission Protocol v0.4a ---------------------------------- - General @@ -141,3 +141,22 @@ Piztor Transmission Protocol v0.4 :``0x00``: gid (value is a 4-byte ``long int``) :``0x01``: sex (value is a 1-byte ``boolean``: ``0x01`` for male, ``0x00`` for female) + +- User Logout + + - Request + + :: + + +--1b--+-----?b------+ + | 0x04 | AUTH_HEAD | + +------+-------------+ + + - Response + + :: + + +--1b--+---1b---+ + | 0x04 | STATUS | + +------+--------+ + -- cgit v1.2.3-70-g09d2