How can I timeout Poco::Net::StreamSocket::acceptConnection() after a few seconds. There seems to be no option to set a timeout for the listening phase of the socket in Poco.
setBlocking(false); 
and
setReceiveTimeout(5000);
causes a crash.
Aucun commentaire:
Enregistrer un commentaire