14.2.4 Remote Desktop Protocol: Basic Connectivity and Graphics Remoting Overview
Remote Desktop Protocol: Basic Connectivity and Graphics Remoting (as specified in [MS-RDPBCGR]) is the core protocol that provides Terminal Services functionality in Windows Vista operating system and Windows Server 2008 operating system (RDP 6.0).
This protocol facilitates user interaction with a remote computer system by transferring graphics display information from the remote computer to the user and transporting input from the user to the remote computer, where it can be injected locally. This protocol also provides an extensible transport mechanism, which allows specialized communication to take place between components on the user computer and components running on the remote computer.
The activity involved in sending and receiving data through the RDP stack is essentially the same as in the seven-layer Open System Interconnection (OSI) model standards for common local-area network (LAN) networking. Data from an application or service to be transmitted is passed down through the protocol stack, sectioned, directed to a channel (through Multipoint Communication Services), encrypted, wrapped, framed, packaged onto the network protocol, and finally addressed and sent over the wire to the client. The returned data works the same way, only in reverse, with the packet being stripped of its address, then unwrapped, decrypted, and so on until the data is presented to the application for use.