]> git.sesse.net Git - rdpsrv/commitdiff
Attempt to send an CC back (but fail?)
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:10:33 +0000 (23:10 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:10:33 +0000 (23:10 +0000)
iso.c

diff --git a/iso.c b/iso.c
index c694624962c6bb90d68262dfa02606542d951ec1..905e54a2fbf8b28cfe8953f38ae70cc5c848b11d 100644 (file)
--- 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;
 }