Essential WinInet

Aaron Skonnard

  • 出版商: Addison Wesley
  • 出版日期: 1999-01-01
  • 售價: $2,170
  • 貴賓價: 9.5$2,062
  • 語言: 英文
  • 頁數: 528
  • 裝訂: Paperback
  • ISBN: 0201379368
  • ISBN-13: 9780201379365
  • 已絕版

買這商品的人也買了...

相關主題

商品描述

 

Table Of Contents

Preface.
Organization.
Tips.
Web Site.
Acknowledgments.

 

 

 

 

I. WININET BASICS.

 

 

 

1. WinInet Basics.

 

Is This Book for You?
Prerequisites.
Book Overview by Chapter.
Internet Overview.
Developing Internet Applications.
Internet Protocols.
Clients.
Server Components.

Introducing WinInet.
Standard API.
What Can You Do with WinInet?
HTTP, FTP, and Gopher.
Dependencies.
Redistributing WinInet.
Programming with WinInet.
Windows CE.

Documentation and Samples.
Microsoft Internet Client SDK.
Samples.

Advantages of WinInet over Winsock.
Easy to Use.
Built-in Caching.
Easy Connections.
Security.

Advantages of Winsock over WinInet.
Your First WinInet Program.


2. WinInet General Functions.

 

API Flags.
HINTERNET Handles.
WinInet General Functions.
Handle Hierarchy.
InternetOpen.
The Next Step.
InternetConnect.
InternetSetStatusCallback.
InternetCloseHandle.
General Internet Function Summary.

Internet File Functions.
InternetReadFile.
InternetWriteFile.
InternetFindNextFile.
InternetSetFilePointer.
Reading Files without the Content-Length Header.
Locking File Resources.

Internet Option Functions.
Internet Time Functions.
Other Internet Helper Functions.
InternetConfirmZoneCrossing.
InternetErrorDlg.
InternetGetLastResponseInfo.


3. Handling URLs.

 

 

URL Basics.
InternetOpenUrl.
Using SSL with InternetOpenUrl.
Helper Functions.
InternetCanonicalizeUrl.
InternetCombineUrl.
InternetCrackUrl.
InternetCreateUrl.

InternetOpenUrl Sample Program (InetURL).
Processing OnFetch.
HTTPS Example.
FTP Example.
Gopher Example.
 

II. WININET PROTOCOL-SPECIFIC FUNCTIONS.

 

 


4. HTTP Functions.

 

 

The HTTP Protocol.
The HTTP Model.
The HTTP Request.
The HTTP Response.
Using Telnet to Test HTTP.
A Complete HTTP Transaction.
HTTP Protocol Summary.

WinInet HTTP Functions.
HTTP Hierarchy.
HTTP Functions Overview.
HttpOpenRequest.
HttpAddRequestHeaders.
HttpSendRequest.
HttpQueryInfo.
InternetErrorDlg.
HTTP Authentication Techniques.
Using SSL with HTTP.
Web Page Retrieval Example.


5. FTP Functions.

 

 

The FTP Protocol.
The FTP Model.
FTP Commands.
FTP Replies.
Minimum Implementation.
A Typical FTP Scenario.
Using Telnet to Test FTP.
FTP Protocol Summary.

WinInet FTP Functions.
FTP Hierarchy.
FTP Functions Overview.
Sample FTP Client.
FTP Function Descriptions.


6. Gopher Functions.

 

 

The Gopher Protocol.
The Gopher Model.
Gopher Response Items.
Gopher Selector String.
Using Telnet to Test Gopher.
Gopher Protocol Summary.

Gopher+.
WinInet Gopher Functions.
Gopher Hierarchy.
Gopher Functions Overview.
Sample Gopher Application.
Function Descriptions.
 

III. MFC AND VISUAL BASIC.

 

 


7. WinInet MFC Internet Classes.

 

 

Benefits.
WinInet MFC Classes.
Getting Started with MFC WinInet Support.
CInternetSession.
CInternetFile.
CInternetConnection.
HTTP Classes.
FTP Classes.
Gopher Classes.
CInternetException.
Global MFC Internet Functions.


8. WinInet in Visual Basic.

 

 

VB 5.0.
Microsoft Internet Transfer Control.
Properties.
Methods.
Events.
Sample Application Using OpenURL.

Using WinInet Directly.
Declarations.
Revamped Sample Application Using InternetOpenUrl.
 

IV. ADVANCED WININET.

 

 


9. Asynchronous WinInet.

 

 

Synchronous versus Asynchronous.
Pros and Cons.
WinInet's Built-in Asynchronous Support.

MyFTP: Asynchronous FTP Sample Application.
Establishing the Asynchronous Internet Session.
InternetStatusCallback.
INTERNET_STATUS_CALLBACK.
OnConnect.
OnDisconnect.
OnGet.
OnPut.
MyStatusCallback Implementation.
FillRemoteList.
The Rest of the Details.


10. Reusable WinInet COM Components.

 

 

Stock Watcher Sample Application.
The QuoteProvider Component.
The CProviderYahoo Component.
Adding Interface Methods.
Didn't We Mean IQuoteProvider?
Connection Points.
IQuoteProviderEvent.
Creating Additional IQuoteProvider Components.

The QuoteProvider Component Category.
The HTTP Component.
IHttpRequest Interface.
WinInet and Threads--A Quick Thread Tutorial.
HttpWorkerThread.

The Stock Watcher Application.
CQuoteProviderDlg.
CQuoteProviderEventSink.
Refresh All.


11. Establishing a Dial-up Connection.

 

 

Prerequisites.
WinInet Dial-up Functions.
InternetAutodial and InternetAutodialHangup.
InternetDial and InternetHangUp.
InternetGoOnline.
InternetGetConnectedState.
InternetSetDialState.
To Use or Not to Use . . . That Is the Question!.

Remote Access Service.
Using the RAS Common Dialogs.
Begin and End a RAS Connection with RasDial and RasHangUp.
Working with Phonebook Entries.
Windows NT 4.0 RAS AutoDial.
RAS Connection Information.
 

V. INTERNET CLIENT/SERVER APPLICATIONS.

 

 


12. Internet Client/Server Applications with WinInet, ISAPI, and ASP.

 

 

Internet Client/Server Development Decisions.
Client Decisions.
Server Decisions.

BugTracker: A Client/Server Bug-Tracking System.
BugTracker Overview.
Sample ISAPI Extension DLL.
Active Server Pages.
Generating an HTML View.
Sample WinInet Client.

Appendix A. TCP/IP Tutorial.
TCP/IP Protocol Layering.
TCP.
IP.
The Physical Layer.

Appendix B. API Flags.
Appendix C. Internet Option Flags.
Appendix D. Error Messages.
Appendix E. Recommended Reading.
WinInet.
Internet Protocols.
COM and ATL.
Multithreading.
ISAPI and ASP.
Index. 0201379368T04062001

 

 


Back to Top