cinemast / libjson-rpc-cpp

C++ framework for json-rpc (json remote procedure call)
MIT License
952 stars 316 forks source link

Persistent TCP connection #315

Open caipiblack opened 2 years ago

caipiblack commented 2 years ago

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

cinemast commented 2 years ago

Sure, feel free to create a PR for that.