According to MSDN, inet_pton and inet_ntop functions(and their widechar variants) do not require WSAStartup function to be called first.
Current implementation uses functions that require WSAStartup.
Possible replacement implementation:
https://github.com/wireshark/wireshark/blob/90644c83725f979f82e7990792faaf6e847f74ea/wsutil/inet_ntop.c
https://github.com/wireshark/wireshark/blob/90644c83725f979f82e7990792faaf6e847f74ea/wsutil/inet_pton.c
According to MSDN, inet_pton and inet_ntop functions(and their widechar variants) do not require WSAStartup function to be called first.
Current implementation uses functions that require WSAStartup.
Possible replacement implementation:
https://github.com/wireshark/wireshark/blob/90644c83725f979f82e7990792faaf6e847f74ea/wsutil/inet_ntop.c
https://github.com/wireshark/wireshark/blob/90644c83725f979f82e7990792faaf6e847f74ea/wsutil/inet_pton.c