Re: [basex-talk] Socket specifications?

2023-01-21 Thread Ben Engbers
Thanks, In the meantime I have narrowed my problem down to the code that reads from the socket. I'll see if this works better when usen poll() instead of select(). Ben Op 20-01-2023 om 19:20 schreef Liam R. E. Quin: On Fri, 2023-01-20 at 18:31 +0100, Ben Engbers wrote: Whether reading

Re: [basex-talk] Socket specifications?

2023-01-20 Thread Liam R. E. Quin
On Fri, 2023-01-20 at 18:31 +0100, Ben Engbers wrote: > > My question is how do I configure the client side of the socket for > optimal use? Whether reading from a socket is non-blocking is a function of the API you use on the client, not the server end. Likely you can find a C++ library that

[basex-talk] Socket specifications?

2023-01-20 Thread Ben Engbers
Hi, When I developed the Basex client for R, I ran into problems with the socket for a long time. In the end it turned out that in R I had to configure the socket as a non-blocking socket. This solved all performance issues! I am now trying to develop a client for SWI-prolog. Because that