X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=rdpsrv.c;h=dda4a173ad0856c0e27bc2e4482a06fdc8540b20;hp=c5b4169403f7ef271fa7f237e52257bae1925f28;hb=f7c77f1d801d69794ea81a97060f260a0af51e51;hpb=f78d8ca1c22e0fcfabb9383928bc2cf6c93473cd diff --git a/rdpsrv.c b/rdpsrv.c index c5b4169..dda4a17 100644 --- a/rdpsrv.c +++ b/rdpsrv.c @@ -66,11 +66,11 @@ int serve_client() mcs_send_connect_response(); for ( ;; ) { - short channel; - - /* receive ISO packets */ - mcs_recv(&channel); + uint8 type; + STREAM s; - printf("Packet on ch %u\n", channel); + while ((s = rdp_recv(&type)) != NULL) { + printf("RDP packet! type %u\n", type); + } } }