Getaddrinfo not in winsock.h

So I’m trying to make a simple networking script using windows sockets (winsock.h). The header is supposed to have a function called “getaddrinfo” used to fill addrinfo objects. This has not been included in the header that comes with unreal. Is there some other way to do what this function does?