From: <mi...@st...> - 2007-03-01 08:18:02
|
Hiroki Sakagami wrote: > > Thank you for your reply. So, I can get the socket object by adding > such a method manually. Is there any chance there will be support for > LDAP_OPT_DESC in future python-ldap? Not sure what you mean with "socket object". Let's read http://www.openldap.org/lists/openldap-software/200102/msg00290.html once again: "You can use ldap_get_option(ld, LDAP_OPT_DESC, &sd) to access the primary file descriptor associated with a session handle." This function of the OpenLDAP C SDK returns just the OS' file descriptor. I never worked with asyncore. Not sure what you need. Ciao, Michael. |