PDA

View Full Version : C$Socket, ftp, ip address


Mikalodeon
12-05-2007, 08:19 AM
I'm using sockets to do some ftp. One thing I noticed is it will not connect when you use a full name address (eg. ftp.acucorp.com), it needs an IP address (eg. 12.147.6.122).

Anyhow does anyone have a simple way to get the IP address from the full name address using the windows api, or any other method?

Rob04
12-05-2007, 09:29 AM
Would this: http://www.developerfusion.co.uk/show/1628/ do the trick?

Mikalodeon
12-05-2007, 05:31 PM
definately a start, thanks I appreciate the input. :)