libjson-rpc-cpp icon indicating copy to clipboard operation
libjson-rpc-cpp copied to clipboard

Persistent TCP connection

Open caipiblack opened this issue 3 years ago • 1 comments

Hi,

Currently in the class LinuxTcpSocketServer when a request is processed by the server in HandleConnection() the TCP connection for the client is closed after sending the response.

Is it possible to integrate the possibility to keep the connection active so that a client can send multiple request and receive notifications without disconnecting/reconnecting

Thanks

caipiblack avatar Dec 08 '21 13:12 caipiblack

Sure, feel free to create a PR for that.

cinemast avatar Jul 17 '22 11:07 cinemast