X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=iso.c;h=0c2f945f94aa2376be7481db5500b4d25df0d4dd;hp=c694624962c6bb90d68262dfa02606542d951ec1;hb=0ccbf39669033e86f0b22f66e61cd34246abcb95;hpb=d4bb133e346809bf5393c0cdb06b2a422b99dddb diff --git a/iso.c b/iso.c index c694624..0c2f945 100644 --- a/iso.c +++ b/iso.c @@ -185,7 +185,7 @@ iso_recv(void) BOOL iso_recv_connect(int server_sock) { - STREAM s; + STREAM s, t; uint8 code; tcp_recv_connect(server_sock); @@ -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(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); + return 1; }