mcs_send_connect_response();
for ( ;; ) {
- short channel;
- STREAM *s;
-
- /* receive ISO packets */
- s = mcs_recv(&channel);
- if (s != NULL)
- printf("Packet on ch %u\n", channel);
+ uint8 type;
+ STREAM s;
+
+ while ((s = rdp_recv(&type)) != NULL) {
+ printf("RDP packet! type %u\n", type);
+ }
}
}