Essential WinInet
Aaron Skonnard
- 出版商: Addison Wesley
- 出版日期: 1999-01-01
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 528
- 裝訂: Paperback
- ISBN: 0201379368
- ISBN-13: 9780201379365
已絕版
買這商品的人也買了...
-
$784Database System Concepts, 4/e
-
$520$442 -
$720$569 -
$2,010$1,910 -
$780$741 -
$750$638 -
$590$466 -
$280$266 -
$720$569 -
$750$675 -
$720$569 -
$540$427 -
$560$504 -
$450$356 -
$720$569 -
$550$468 -
$390$304 -
$490$417 -
$400$340 -
$650$514 -
$720$612 -
$450$351 -
$750$593 -
$2,040$1,938 -
$330$297
相關主題
商品描述
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.
Introducing WinInet.
Documentation and Samples.
Advantages of WinInet over Winsock.
Advantages of Winsock over WinInet.
Your First WinInet Program.
Prerequisites.
Book Overview by Chapter.
Internet Overview.
Developing Internet Applications.
Internet Protocols.
Clients.
Server Components.
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.
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.
Samples.
Advantages of WinInet over Winsock.
Easy to Use.
Built-in Caching.
Easy Connections.
Security.
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.
Internet File Functions.
Internet Option Functions.
Internet Time Functions.
Other Internet Helper Functions.
HINTERNET Handles.
WinInet General Functions.
Handle Hierarchy.
InternetOpen.
The Next Step.
InternetConnect.
InternetSetStatusCallback.
InternetCloseHandle.
General Internet Function Summary.
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.
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.
InternetErrorDlg.
InternetGetLastResponseInfo.
3. Handling URLs.
URL Basics.
InternetOpenUrl.
Using SSL with InternetOpenUrl.
Helper Functions.
InternetOpenUrl Sample Program (InetURL).
InternetOpenUrl.
Using SSL with InternetOpenUrl.
Helper Functions.
InternetCanonicalizeUrl.
InternetCombineUrl.
InternetCrackUrl.
InternetCreateUrl.
InternetCombineUrl.
InternetCrackUrl.
InternetCreateUrl.
InternetOpenUrl Sample Program (InetURL).
Processing OnFetch.
HTTPS Example.
FTP Example.
Gopher Example.
HTTPS Example.
FTP Example.
Gopher Example.
II. WININET PROTOCOL-SPECIFIC FUNCTIONS.
4. HTTP Functions.
The HTTP Protocol.
WinInet HTTP Functions.
The HTTP Model.
The HTTP Request.
The HTTP Response.
Using Telnet to Test HTTP.
A Complete HTTP Transaction.
HTTP Protocol Summary.
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.
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.
WinInet FTP Functions.
The FTP Model.
FTP Commands.
FTP Replies.
Minimum Implementation.
A Typical FTP Scenario.
Using Telnet to Test FTP.
FTP Protocol Summary.
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.
FTP Functions Overview.
Sample FTP Client.
FTP Function Descriptions.
6. Gopher Functions.
The Gopher Protocol.
Gopher+.
WinInet Gopher Functions.
The Gopher Model.
Gopher Response Items.
Gopher Selector String.
Using Telnet to Test Gopher.
Gopher Protocol Summary.
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.
Gopher Functions Overview.
Sample Gopher Application.
Function Descriptions.
III. MFC AND VISUAL BASIC.
7. WinInet MFC Internet Classes.
Benefits.
WinInet MFC Classes.
WinInet MFC Classes.
Getting Started with MFC WinInet Support.
CInternetSession.
CInternetFile.
CInternetConnection.
HTTP Classes.
FTP Classes.
Gopher Classes.
CInternetException.
Global MFC Internet Functions.
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.
Using WinInet Directly.
Microsoft Internet Transfer Control.
Properties.
Methods.
Events.
Sample Application Using OpenURL.
Methods.
Events.
Sample Application Using OpenURL.
Using WinInet Directly.
Declarations.
Revamped Sample Application Using InternetOpenUrl.
Revamped Sample Application Using InternetOpenUrl.
IV. ADVANCED WININET.
9. Asynchronous WinInet.
Synchronous versus Asynchronous.
MyFTP: Asynchronous FTP Sample Application.
Pros and Cons.
WinInet's Built-in Asynchronous Support.
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.
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 QuoteProvider Component Category.
The HTTP Component.
The Stock Watcher Application.
The QuoteProvider Component.
The CProviderYahoo Component.
Adding Interface Methods.
Didn't We Mean IQuoteProvider?
Connection Points.
IQuoteProviderEvent.
Creating Additional IQuoteProvider Components.
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.
WinInet and Threads--A Quick Thread Tutorial.
HttpWorkerThread.
The Stock Watcher Application.
CQuoteProviderDlg.
CQuoteProviderEventSink.
Refresh All.
CQuoteProviderEventSink.
Refresh All.
11. Establishing a Dial-up Connection.
Prerequisites.
WinInet Dial-up Functions.
Remote Access Service.
WinInet Dial-up Functions.
InternetAutodial and InternetAutodialHangup.
InternetDial and InternetHangUp.
InternetGoOnline.
InternetGetConnectedState.
InternetSetDialState.
To Use or Not to Use . . . That Is the Question!.
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.
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.
BugTracker: A Client/Server Bug-Tracking System.
Appendix A. TCP/IP Tutorial.
TCP/IP Protocol Layering.
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
Client Decisions.
Server 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.
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.
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