libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
In GitLab by @Michael-M-Baron on Jan 13, 2021, 10:30
After a server shutdown it can happen that the server socket gets into the TIME_WAIT state and it is no longer possible to use it again. This mechanism is part of the Kernel/TCP-Protocol and prevents possible package losts.
Since this is more of a theoretical problem, the server socket option could be adjusted adjusted with the SO_REUSEADDR flag to enable and ensure an instant reboot of the server after a shutdown.
In GitLab by @Michael-M-Baron on Jan 13, 2021, 10:30
After a server shutdown it can happen that the server socket gets into the TIME_WAIT state and it is no longer possible to use it again. This mechanism is part of the Kernel/TCP-Protocol and prevents possible package losts.
Since this is more of a theoretical problem, the server socket option could be adjusted adjusted with the SO_REUSEADDR flag to enable and ensure an instant reboot of the server after a shutdown.