342
342
Debug( LDAP_DEBUG_TRACE, "ldap_int_open_connection\n", 0, 0, 0 );
344
344
switch ( proto = ldap_pvt_url_scheme2proto( srv->lud_scheme ) ) {
362
346
rc = ldap_connect_to_host( ld, conn->lconn_sb,
363
proto, host, port, async );
365
349
if ( rc == -1 ) return rc;
368
351
ber_sockbuf_add_io( conn->lconn_sb, &ber_sockbuf_io_debug,
369
352
LBER_SBIOD_LEVEL_PROVIDER, (void *)"tcp_" );