mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Similarly, use InetPton rather than WSAStringToAddress. The WSAAddressToString function is intended to provide a user-readable string and thus includes the port number. This breaks some use cases on Windows which expect to get just the IP address. Note: The InetPton and InetNtop functions are available only in Vista or above.