I'm trying to connect to an FTP server, but I am getting the error ERROR_INTERNET_NAME_NOT_RESOLVED. Using the exact same address, username, and password, I can log in using IE. Here is my code:
InternetOpen() returns a valid handle, but InternetConnect() returns NULL. Is there anything in the function calls that would cause this error?