Rdp protocol is documented (for certain versions of client) - you can use QTcpSocket