4 Protocol Examples
If machine A calls the FrsRpcSendCommPkt method on machine B, in the following sections, this is called: Machine A sends COMM_PACKET packet to machine B.
There are 12 types of COMM_PACKETS (see section 18.104.22.168.2):
If machine A sends a COMM_PACKET to machine B, and if COMM_PACKET.COMM_COMMAND is CMD_NEED_JOIN (0x00000121), this is called: Machine A sends CMD_NEED_JOIN to machine B.
Section 4.1 gives the connection establishment sequence.
Section 4.3 gives an example to show the byte layout of COMM_PACKET.
Copying a file.
Renaming a file.
Removing a file.
Copying a folder.
Removing a folder.
Renaming a folder.
Sections 4.4 and 4.5 are intended to provide complete examples with every byte. These examples are used on the wire for both initial sync and normal sync.