HTTP_KEEPALIVE_PACKET Structure This packet is sent by the RDG client and RDG server to ensure that the HTTP connection is not lost if there is no RDP data. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 hdr ... hdr (8 An structure. Its packetType field is set to PKT_TYPE_KEEPALIVE. HTTP_PACKET_HEADER Structure This structure describes an HTTP packet. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 packetType reserved packetLength packetType (2 bytes): An unsigned short representing the type of the packet from . reserved (2 bytes): Reserved for future use. packetLength (4 bytes): An unsigned integer representing the length of the packet. HTTP_HANDSHAKE_REQUEST_PACKET Structure This packet is sent from the RDG client to the RDG server to negotiate the appropriate protocol version to use. 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 hdr ... verMajor verMinor clientVersion ExtendedAuth hdr (8 bytes): An structure. Its packetType field is set to PKT_TYPE_HANDSHAKE_REQUEST. verMajor (1 byte): A single byte representing the major version of the RDGHTTP protocol. verMinor (1 byte): A single byte representing the minor version of the RDGHTTP protocol. clientVersion (2 An unsigned short representing the version of RDG client operating system. This field is not used and MUST be set to zero.
HTTP_KEEPALIVE_PACKET Structure This packet is sent by the RDG client and RDG server to ensure that the HTTP connection is not lost if there is no RDP data. 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 hdr ... hdr (8 An structure. Its packetType field is set to PKT_TYPE_KEEPALIVE. HTTP_PACKET_HEADER Structure This structure describes an HTTP packet. 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 packetType reserved packetLength packetType (2 bytes): An unsigned short representing the type of the packet from . reserved (2 bytes): Reserved for future use. packetLength (4 bytes): An unsigned integer representing the length of the packet. HTTP_HANDSHAKE_REQUEST_PACKET Structure This packet is sent from the RDG client to the RDG server to negotiate the appropriate protocol version to use. 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 hdr ... verMajor verMinor clientVersion ExtendedAuth hdr (8 bytes): An structure. Its packetType field is set to PKT_TYPE_HANDSHAKE_REQUEST. verMajor (1 byte): A single byte representing the major version of the RDGHTTP protocol. verMinor (1 byte): A single byte representing the minor version of the RDGHTTP protocol. clientVersion (2 An unsigned short representing the version of RDG client operating system. This field is not used and MUST be set to zero.