X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=iso.c;h=905e54a2fbf8b28cfe8953f38ae70cc5c848b11d;hp=c694624962c6bb90d68262dfa02606542d951ec1;hb=3c6b8a5bfb9ee7115afbe58c12d67abfb42096f1;hpb=d4bb133e346809bf5393c0cdb06b2a422b99dddb 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; }