Try other resolved IPs if one fails to connect

This commit is contained in:
Haoyu Qiu 2021-07-11 17:43:52 +08:00
parent 9d38ebdc3c
commit fd52e18d19
4 changed files with 48 additions and 9 deletions

View file

@ -63,6 +63,8 @@ private:
String _key;
String _host;
int _port;
Array ip_candidates;
Vector<String> _protocols;
bool _use_ssl = false;