for ( ;; ) {
uint8 type, data_pdu_type;
+ uint16 id;
STREAM s;
fd_set readfs;
handle_control_pdu(s);
break;
case RDP_DATA_PDU_SYNCHRONISE:
- rdp_send_synchronise(s);
+ in_uint16_le(s, id);
+ printf("Synchronise, id=%u\n", id);
+ rdp_send_synchronise(id);
+ break;
+ case RDP_DATA_PDU_FONT2:
+ // respond with the
+ // unknown 0x28 PDU
+ // here?
+ printf("FONT2, ignored\n");
break;
default:
printf("Unknown data PDU type %u\n", data_pdu_type);