CTTP Classroom Tape Transfer Protocol - Chapter 3
Tags: CTTP LighteningZero CTTP-v1.0
-
Sender
-
P2P (peer-to-peer transfer) mode
-
To be up to standard,
P2Pshould not be written asPTPorD2Dand so on. -
To send a message in P2P mode, write
P2PSNDafter as the markword. e.g.CTTP/1.0 P2PSND -
In P2P mode, the message must contain the field
TOto mark the receiver. The mark can be names, name abbreviations, students’ numbers, or nicknames. It is suggested that you should use the name abbreviations when there are no ambiguities. -
We suggest you add the field
FROMas well, to mark the sender for easy access to responses. -
Write the message content under the message header or in the back of the paper.
-
Example
CTTP/1.0 P2PSND TO ZTL FROM SLC This is the content.
-
-
BROADCAST mode
-
In BROADCAST mode, the markword must be
BDCAST. -
In BROADCAST mode, the message will be sent to everyone (in theory), so the
TOfield mustn’t be declared. -
See 3.1.4 (3.I.d).
-
Example
CTTP/1.0 BDCAST FROM SLC Hello everyone!
-
-
REQUEST mode
-
In most conditions, we send tapes for asking questions, and the question doesn’t need to be answered by a specific person but needs an official response.
-
In REQUEST mode, the markword must be
REQ. -
The corresponding mode to REQUEST mode is RESPONSE mode. Which is divided into OFFICIAL mode and UNOFFICIAL mode.
-
In OFFICIAL mode, the markword must be
RESOFF. -
In UNOFFICIAL mode, the markword must be
RESUNOFF.
-
-
There must be the field
FROMfor responding. -
There must be the field
TOto mark the receiver who will give you an OFFICIAL RESPONSE. if you don’t know who is receiving or you can’t declare the fieldTO, please use BROADCAST mode (See 3.2 (3.II)). -
You can declare the field
PROXYto mark who will be the proxy-node that passes the tape. -
Example
CTTP/1.0 REQ TO HHR FROM SLC PROXY ZTL YYN CZH What is the homework for today?
-
-