From: Steve H. <ste...@ex...> - 2000-05-08 20:08:56
|
On Mon, May 08, 2000 at 07:49:24PM +0100, Graham Barr wrote: > The problem is that on Solaris recv will not always return the address > of the sender if the socket is connected. The fix for this is that > in Net::LDAP where is uses asn_recv it should have a defined check on the > result. > > The CVS respository on sourceforge has this fix. There is also a patch > at http://download.sourceforge.net/perl-ldap Ah, thanks... OK, I still get a problem with 0.16 over 0.13. I can't use $sr->shift_entry. I can do foreach $entry ($sr->entries) { ... } but not while ($entry = $sr->shift_entry) { ... } Hm, upon trying again, it did give me an entry but then blocked... According to truss it's blocking in recvfrom()... Also, sometimes I get the "$ldap received:" message and then no hex dump. Particularly if I'm requesting a large value (jpegPhoto attributes for instance). SRH -- Steve Haslam, Production Engineer, Excite UK ste...@ex... i sit and stare at the gun pointed at my head and think about all the possibilities |