From 0ac9262c0fdd826a47fdd727f0f7da1f8c48bc01 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 3 Feb 2005 23:16:12 +0000 Subject: [PATCH 1/1] Further fix CC sending (?) --- iso.c | 14 +------------- rdpsrv.c | 2 ++ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/iso.c b/iso.c index 0c2f945..746a945 100644 --- a/iso.c +++ b/iso.c @@ -202,19 +202,7 @@ iso_recv_connect(int server_sock) DEBUG(("Got ISO connection request\n")); - iso_init(0); - - /* send an CC PDU back */ - out_uint8(t, 3); /* version */ - out_uint8(t, 0); /* reserved */ - out_uint16_be(t, 0); - - out_uint8(t, 2); /* hdrlen */ - out_uint8(t, ISO_PDU_CC); /* code */ - out_uint8(t, 0x80); /* eot */ - - tcp_send(t); - + iso_send_msg(ISO_PDU_CC); return 1; } diff --git a/rdpsrv.c b/rdpsrv.c index 86235ec..561a2e4 100644 --- a/rdpsrv.c +++ b/rdpsrv.c @@ -66,5 +66,7 @@ int serve_client() /* receive ISO packets */ mcs_recv(&channel); + + printf("Packet on ch %u\n", channel); } } -- 2.39.2