From: Graham B. <gb...@po...> - 2000-05-08 20:30:07
|
On Mon, May 08, 2000 at 09:08:27PM +0100, Steve Haslam wrote: > 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()... Well if the search is not complete and there are no entries in the queue then it will block for the next entry. > 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). Hm, does this happen if you changed to using asn_read ? Graham. |