Not  getHostByName, I want to transplant some part code of qemu, it uses gethostname.

2012/5/18 MARTIN Pierre <>
> I have used tool to look the function symbols in ws2_32 and it has "gethostname", and if the ws2_32 library is not found, "getaddrinfo" function will be not found, but it
Isn't it getHostByName you're looking for?

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:

TEL 156-1166-2737