this->blog.MoveTo("blog.baozishan.in")
Begin an HTTP session.
Create a CInternetSession object.
Initializes WinInet and connects to server.
Connect to an HTTP server.
Use CInternetSession::GetHttpConnection.
Returns a CHttpConnection object.
Open an HTTP request.
Use CHttpConnection::OpenRequest.
Returns a CHttpFile object.
Send an HTTP request.
Use CHttpFile::AddRequestHeaders and CHttpFile::SendRequest.
Finds the file. Returns FALSE if the file is not found.
Read from the file.
Use CHttpFile.
Reads the specified number of bytes using a buffer you supply.
Handle exceptions.
Use the CInternetException class.
Handles all common Internet exception types.
End the HTTP session.
Dispose of the CInternetSession object.
Automatically cleans up open file handles and connections.
来源
posted on 2008-06-19 09:19 Gohan 阅读(2807) 评论(0) 编辑 收藏 引用 所属分类: MSDN Digest
Powered by: C++博客 Copyright © Gohan