Closing a socketconnection
BEBen Engbers13 Apr 2022 15:53 # Hi,
While reading the basexdbc.c code from Alexander Holupirek, I saw that he explicitly sends the 'exit' command to the server before closing the socket. I couldn't find anything on this command in the client server protocol.
Is it necessary to send this command to the server? If so what is the effect of sending this command?
Ben Engbers
CGChristian Grün14 Apr 2022 10:55 # Hi Ben,
The exit command shouldn’t be required (but my knowledge on C is limited and I haven’t checked the implementation in more detail).
Best,
Christian
Quoted text · Ben Engbers · 13 lines
On Wed, Apr 13, 2022 at 3:54 PM Ben Engbers <Ben.Engbers at be-logical.nl> wrote:
>
> Hi,
>
> While reading the basexdbc.c code from Alexander Holupirek, I saw that
> he explicitly sends the 'exit' command to the server before closing the
> socket. I couldn't find anything on this command in the client server
> protocol.
>
> Is it necessary to send this command to the server? If so what is the
> effect of sending this command?
>
> Ben Engbers
⚡Generated with XQuery