socket->setProxy(getProxy());
socket->connectToHost(host,port);
// ...getting new server's ip...
socket->disconnectFromHost();
// socket->abort();
socket->connectToHost(newIp, port);
// <...From here :
//Server sends me http notification "connection established", then my app sends to server ACK and at once closing packet (FIN, ACK).
socket->setProxy(getProxy());
socket->connectToHost(host,port);
// ...getting new server's ip...
socket->disconnectFromHost();
// socket->abort();
socket->connectToHost(newIp, port);
// <...From here :
//Server sends me http notification "connection established", then my app sends to server ACK and at once closing packet (FIN, ACK).
To copy to clipboard, switch view to plain text mode
Bookmarks