View Single Post
Old 05-14-2004, 05:45 PM  
Junior Member
Join Date: May 2004
Posts: 3
Default winsock in a c++ script

I'm trying to use gethostbyname in a c++ script for ioftpd but it always return 11001 host not found when run from ioftpd.

If I run it from a shell with the same parameters it gets from ioftpd,it resolvs the host.

any help would be appreciated.
snorkis is offline