commit | 57cab51d83629ee7e0ede8eaa869453cc9231434 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Mar 17 13:39:39 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Mar 17 17:18:50 2015 +0100 |
tree | a829392a6cf8003778fce30ecfca2570954d91ca | |
parent | 9d78440b8354ae81f3fc094569f710c27f3ad0e6 [diff] |
Resurrect TcpListener::getMyAddresses() It is needed by WinVNC, but got removed in 892d10a70. Also fix a couple of issues: - Use getnameinfo() in order to be compatible with Windows XP - Make it static since it doesn't use a specific socket - Respect UseIPv4 and UseIPv6 - Flags for getaddrinfo() that match binding code - Dummy service value for Windows compatibility