X-Git-Url: https://git.sesse.net/?p=rdpsrv;a=blobdiff_plain;f=iso.c;h=9a343ad207f5dce2282a9fded81b85776be1af42;hp=26e967b384560fbe790d92e047ac8e57e9354d33;hb=4539b581a53654e64fb3c6d0de04ff31d035b81f;hpb=46f3372353ccdd654ef45f0b73128c16fb057e58 diff --git a/iso.c b/iso.c index 26e967b..9a343ad 100644 --- a/iso.c +++ b/iso.c @@ -182,30 +182,6 @@ iso_recv(void) return s; } -/* Establish a connection up to the ISO layer */ -BOOL -iso_connect(char *server, char *username) -{ - uint8 code; - - if (!tcp_connect(server)) - return False; - - iso_send_connection_request(username); - - if (iso_recv_msg(&code) == NULL) - return False; - - if (code != ISO_PDU_CC) - { - error("expected CC, got 0x%x\n", code); - tcp_disconnect(); - return False; - } - - return True; -} - /* Disconnect from the ISO layer */ void iso_disconnect(void)