2.2.1.8 REMOTEDESKTOP_CTL_VERSIONINFO_PACKET

The REMOTEDESKTOP_CTL_VERSIONINFO_PACKET indicates the version of the Remote Desktop Protocol to be used by the novice and the expert. It includes a major and a minor version. This packet is sent either from the novice to the expert or vice versa.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

packetHeader (72 bytes)

...

...

bufHeader

versionMajor

versionMinor

packetHeader (72 bytes): The REMOTEDESKTOP_CTL_PACKETHEADER part of the packet. The virtual channel name MUST be set to "RC_CTL".

bufHeader (4 bytes): The REMOTEDESKTOP_CTL_BUFHEADER part of the packet. The packet type MUST be set to REMOTEDESKTOP_CTL_VERSIONINFO.

versionMajor (4 bytes): Major version number of the Remote Desktop Protocol implemented by the sender as a DWORD.

versionMinor (4 bytes): Minor version number of the Remote Desktop Protocol implemented by the sender as a DWORD.

The versionMajor and versionMinor fields are used in version 1 only and MUST be set to 1 and 2, respectively. If this is not the case, the version 1 novice and version 1 expert both disconnect. To keep compatibility with version 1 and version 2, clients send this message but do not take any action upon receiving the message. In version 3, this message is not sent and is ignored when it is received.