Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-07 Thread jean-marc Mercier
I finally succeeded connecting to BaseX server. This issue was stupidly due to the last trailing '\0' character in the server time stamp response, messing out the password MD5 computations. 2014/1/7 jean-marc Mercier jeanmarc.merc...@gmail.com @Dirk thx : I saw this with WireShark, even if I

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-06 Thread Liam R E Quin
On Mon, 2014-01-06 at 21:15 +0100, jean-marc Mercier wrote: Hello, I still can't connect to BaseX. I checked that I sent to the server exactly the same bytes than the C# connector that worked on my configuration. Is there any way to make the BaseX server echoing any input request on a

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-06 Thread Dirk Kirsten
Hello Jean-Marc, No, there is no such echoing service. Especially, because you sait that you can't connect, so the authentification does not seem to have taken place. So doing anything before authentification would be rather weird. Also, you did not mention _what_ excactly does not work.

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-06 Thread jean-marc Mercier
Liam, Thx for your proposal. Unix C++ user can use the already existing BaseX API, that unfortunately don't work for poor Windows users. My program do send information to BaseX server, since the server replies through its log admin (the user account I am using to log in) -- acces denied. There is

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-05 Thread Dirk Kirsten
Hello Jean-Marc, I see your point. Unfortunately, I don't have any experience doing Windows socket programming (nor do I run any Windows OS), so I am of not much help here. But I would guess the C code can be quite easily replaced (e.g. OpenSSL is most likely just used for the md5 computation)

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-05 Thread jean-marc Mercier
Dirk, Thx. Well, I am suffering a lot to develop this C++ BaseX API. I did not succeed in installing the openssl MD5 algorithm, but I finally found a MD5 algorithm that seems to work (at least, it seems to compute the MD5 hash for admin correctly). However, after two days, I still can't connect

[basex-talk] BaseX for noobs: C++ API ?

2014-01-03 Thread jean-marc Mercier
Hi all, going back to the root... I am trying to connect my favorite C++ tools to BaseX. Unfortunately, I am using visual C++ 12 Express under windows 7. It seems that windows users will not be able to use the existing BaseX API C connector, and need another one. Thus I started to code a C++

Re: [basex-talk] BaseX for noobs: C++ API ?

2014-01-03 Thread jean-marc Mercier
Hi Dirk, Thanx for your answer. Indeed, I tried to install the existing C API. For windows user : Some *.h, *.c files of the BaseX C API seems to work only with a gcc compiler. Some others one don't even exists under windows, at least I did not found them : 1) the BaseX C API seems to use the