[Redirector] TCP Keep Alive

This commit is contained in:
Connection Refused
2021-10-15 12:58:14 +08:00
parent 5c1df2c502
commit 4a7b454baa

View File

@@ -41,7 +41,7 @@ SOCKET SocksHelper::Connect()
{
DWORD returned = 0;
tcp_keepalive data = { 1, 120, 10 };
tcp_keepalive data = { 1, 120000, 10000 };
WSAIoctl(client, SIO_KEEPALIVE_VALS, &data, sizeof(data), NULL, 0, &returned, NULL, NULL);
}