The terminal server MUST open a UDP socket, and bind it to the default RDP port 3389, as specified in section 2.1. The terminal server listens on this socket for incoming connections.
The terminal client MUST open a UDP socket to the terminal server. The terminal client MUST connect to the port that the terminal server is listening on. If there are multiple connections, each connection MUST have a unique port number on the terminal client.