Open videoP opened 6 years ago
example
`#ifdef _WIN32
struct hostent remoteHost; struct in_addr addr; addr.s_addr = inet_addr(va("8.8.8.8")); if (addr.s_addr == INADDR_NONE) return ""; remoteHost = gethostbyaddr((char )&addr, 4, AF_INET); if (remoteHost) Com_Printf("Host is %s\n", remoteHost->h_name);`
Lugormod had this, it let you ban by hostname so you can ban *.md.comcast.com to ban Maryland comcast IP's for example..
Also lets you more easily ban VPNs ?