api question

Hi,
I didn't know which mailing list I should use for this question, so I
decided to take the developer. Hope it's ok.
I use openldap-2.0.23 an I need to know the file descriptor, which is
return from the socket command somewhere in ldap_init.
It used to be like this: ld->ld_sb.sb_sd
However, it seems like the LDAP object is hidden since openldap-2.0
Is there any way?
Thanks,
Thomas