From 3c6b8a5bfb9ee7115afbe58c12d67abfb42096f1 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 3 Feb 2005 23:10:33 +0000 Subject: [PATCH] Attempt to send an CC back (but fail?) --- iso.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; } -- 2.39.2