basically these 3 functions retrieve address info of the remote computer so that the info can be passed to other functions like connect or sendto

what i want to do is a client that broadcasts UDP packets to all my computers on my network installed with a custom server .

now i feel that gethostbyname is the worst one to use because it blocks and freezes the client.

WSAAsyncGetHostByName doesnt block but is not designed to provide parallel resolution of several names. especially it's callback message doesnt even have the host info in it's lParam or WParam.

i dont really know much about getaddrinfo but i am guessing it is the ideal function for my program

but all my computers are on win98 only as says winxp must be used.

any suggestions on what i should do??