]> git.sesse.net Git - rdpsrv/commitdiff
Further fix CC sending (?)
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:16:12 +0000 (23:16 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:16:12 +0000 (23:16 +0000)
iso.c
rdpsrv.c

diff --git a/iso.c b/iso.c
index 0c2f945f94aa2376be7481db5500b4d25df0d4dd..746a9457c84abb54c383a9954663bb31dde3a950 100644 (file)
--- a/iso.c
+++ b/iso.c
@@ -202,19 +202,7 @@ iso_recv_connect(int server_sock)
 
        DEBUG(("Got ISO connection request\n"));
 
 
        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;
 }
 
        return 1;
 }
 
index 86235ec2544d0dd1fb76e7cb8ee786fb8634892c..561a2e4753d5f8aad68d557d1c6ad785bdf04f6d 100644 (file)
--- a/rdpsrv.c
+++ b/rdpsrv.c
@@ -66,5 +66,7 @@ int serve_client()
                
                /* receive ISO packets */
                mcs_recv(&channel);
                
                /* receive ISO packets */
                mcs_recv(&channel);
+
+               printf("Packet on ch %u\n", channel);
        }
 }
        }
 }