Try all resolved STUN servers

This commit is contained in:
Cameron Gutman
2019-08-08 00:02:53 -07:00
parent 620aa4b6d1
commit 0008fbbcdb
3 changed files with 29 additions and 40 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
#define WIN32_LEAN_AND_MEAN
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <Windows.h>
#include <ws2tcpip.h>
#include <WinSock2.h>
#include "..\version.h"
@@ -14,4 +15,4 @@
#define CONSOLE_OUT stdout
#define LOG_OUT stderr
bool getExternalAddressPortIP4(int proto, unsigned short localPort, PSOCKADDR_IN wanAddr);
bool getExternalAddressPortIP4(unsigned short localPort, PSOCKADDR_IN wanAddr);