Damjan Jovanovic : ws2_32: gethostbyname("") should work.