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)