Commit graph

5 commits

Author SHA1 Message Date
Cameron Gutman
708a513256 Initialize platform sockets in LiFindExternalAddressIP4() 2019-02-22 20:59:54 -08:00
Cameron Gutman
dc21e28e1f Fix parsing XOR-MAPPED-ADDRESS if the optional comprehension bit is set 2019-01-22 17:35:53 -08:00
Cameron Gutman
396b02a94d Test each address returned in the getaddrinfo() call and stop blindly preferring IPv4
Fixes NAT64 on iOS 12 and probably other obscure configurations
2018-11-16 00:37:38 -08:00
Cameron Gutman
11ea2b1053 Add more distinguishable error codes for STUN 2018-10-28 17:19:40 -07:00
Cameron Gutman
0eed722635 Add a simple STUN function for resolving external WAN addresses 2018-10-26 19:20:40 -07:00