Re: getref leads to an invalid SELECT
Torsten Bronger <[email protected]> Sun, 15 Feb 2009 22:21:49 +0100
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Organization | Phoenix Foundation |
| Message-ID | <[email protected]> |
Hallöchen!
Torsten Bronger writes:
> Hallöchen!
>
> I try using getref through a socket. The communication is as
> follows:
>
> '6\x00\x00\x00\x00' ==>
> <== '000012-34-21-32\x00\x00\x00\x00'
> '000getref -d biblio -u root -w 110069038082057\x00\x00\x00\x00' ==>
> <== '000'
> '000:AU:~Ast\x00\x00\x00\x00' ==>
> <== '234'
Sorry, I forgot to send the number of bytes. However, what should I
send? len(query_string) is too less, len(query_string)+1 seems to
work, len(query_string)+4 seems to be what the Perl client sends (I
can barely read Perl).
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Jabber ID: [email protected]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H