Click here to get back home

async Net::LDAP

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
async Net::LDAP Dave Bee 10-10-2005
Get Chitika Premium
Posted by Dave Bee on October 10, 2005, 9:06 pm
Please log in for more thread options


Im lost.

I *deperately* need to figure out the async mode of Net::LDAP. I need
to write some benchmarking code that sends out multiple simultaneous
LDAP operations to the server via a single bind session, and then times
the results. I cant figure out how to use it, and there are *no*
examples that I can find that explain how to use it. My assumption was
that I could set async mode on the Net::LDAP object, set a callback on
each operation and when the operation came back, it would trigger the
callback routine. Is this completely incorrect? When I try it, unless
I call $result->code, I get absolutely nothing, and calling
$result->code completely defeats the point of having async mode doesn't
it? Also, rather confusingly, for each operation I perform (when I can
get it to actually perform the operation), the callback subroutine is
being executed twice (and only a single search result is being returned
- I am sure about that). Does anyone have any idea why this might be?

All I am looking for is a simple async example - why isn't one included
in the documentation?

Can someone *please* help me?

Dave


Similar ThreadsPosted
Async .10 September 25, 2006, 12:33 pm
Understaing NET::LDAP August 4, 2004, 10:47 am
Installation LDAP April 29, 2005, 6:27 am
Net::LDAP::Entry help... September 25, 2006, 10:11 pm
NET:LDAP start_tls does not work July 7, 2004, 12:19 pm
Problem installing Net::LDAP September 22, 2005, 12:54 pm
Net::LDAP compare question June 16, 2006, 10:08 am
OLE- LDAP - uSNChanged - Returns Unknown OLE Object July 21, 2004, 1:35 pm
Net::LDAP makefile generation fails on ActiveState Perl 5.8.8 June 23, 2006, 2:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap