From: Steinar H. Gunderson Date: Thu, 3 Feb 2005 23:10:33 +0000 (+0000) Subject: Attempt to send an CC back (but fail?) X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=commitdiff_plain;h=3c6b8a5bfb9ee7115afbe58c12d67abfb42096f1 Attempt to send an CC back (but fail?) --- diff --git a/iso.c b/iso.c index c694624..905e54a 100644 --- a/iso.c +++ b/iso.c @@ -202,6 +202,19 @@ iso_recv_connect(int server_sock) DEBUG(("Got ISO connection request\n")); + iso_init(0); + + /* send an CC PDU back */ + out_uint8(s, 3); /* version */ + out_uint8(s, 0); /* reserved */ + out_uint16_be(s, 0); + + out_uint8(s, 2); /* hdrlen */ + out_uint8(s, ISO_PDU_CC); /* code */ + out_uint8(s, 0x80); /* eot */ + + tcp_send(s); + return 1; }