Visual C++ 6 Unleashed

Visual C++ 6 Unleashed

By MICKEY WILLIAMS and David Bennett

Summary

In this chapter, you explored how to use both the WinInet C API and the MFC WinInet classes to add Internet functionality to your applications, without having to know the details of the underlying protocols, such as FTP, HTTP, or Gopher.

You saw how the WinInet C API uses a hierarchy of special handles of type HINTERNET to manage Internet sessions, connections, and files, as well as the functions used to work with these handles, such as InternetOpen(), InternetConnect(), and InternetOpenUrl().

You also took a look at the MFC WinInet class hierarchy, including CInternetSession, CInternetConnection, and CInternetFile, as well as the protocol-specific classes derived from these, such as CFtpConnection and CHttpFile.

Share ThisShare This

Informit Network