Re: [Refdb-users] getref leads to an invalid SELECT
Status: Beta
Brought to you by:
mhoenicka
|
From: Torsten B. <br...@ph...> - 2009-02-15 21:22:09
|
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: tor...@ja...
|