hi, I write an application to talk with a server applicaiton with Unix Domain Sockets. In the client, there are 2 threads, one thread is send data to the server, ther other keeps reading the responses from the server.
However, I find if the client connect with the server many times, even the sockpp::unix_connector is not changed, the receiving thread will not be able to get any new data from the server.
If so, when the connection was broken between the client and server, the client try to reconnect with the server, there will be not any data which can be received in the receive thread.
May I know how to fix this case? Thanks.
hi, I write an application to talk with a server applicaiton with Unix Domain Sockets. In the client, there are 2 threads, one thread is send data to the server, ther other keeps reading the responses from the server. However, I find if the client connect with the server many times, even the sockpp::unix_connector is not changed, the receiving thread will not be able to get any new data from the server. If so, when the connection was broken between the client and server, the client try to reconnect with the server, there will be not any data which can be received in the receive thread. May I know how to fix this case? Thanks.