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 open SSL framework. I did download and install it, but have some problem to compile it with Visual C++ Express.
2) Some needed c/h files (see for instance "#include <unistd.h>) are located in the MinGW distribution for windows. However, these files are bound to GCC compiler, and can not be compiled with Microsoft compiler.
Indeed, I am trying to mimic in C++ the C# API, that works on my configuration. But it is not easy for me, since I never manipulated sockets and TCP connectors, and will take me a lot of time. Thus, if anyone already did the work, that would be so nice to share :)
Cheers,
Jean-Marc