]> git.sesse.net Git - rdpsrv/blobdiff - iso.c
Moved socket functions around a bit.
[rdpsrv] / iso.c
diff --git a/iso.c b/iso.c
index 26e967b384560fbe790d92e047ac8e57e9354d33..9a343ad207f5dce2282a9fded81b85776be1af42 100644 (file)
--- 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)