easywsclient
easywsclient copied to clipboard
Timeout in Websocket::from_url
When I connect to a valid address but with an invalid port from_url returns a nullptr, but when the address is wrong it's just blocking forever. Is there a way to add a timeout?
I have this same timeout issue. I use select() to add a timeout when connect() in from_url().