Windows Internet

来源:互联网 发布:不一样的天空知乎 编辑:程序博客网 时间:2024/05/27 20:35

MSDN 2005 -> Win32 和 COM 开发 -> Networking -> Networking Protocols -> Windows Internet

Windows Internet

目的

WinINet API(Microsoft Windows Internet application programming interface)为客户端程序提供对FTP、Gopher和HTTP等标准互联网协议的访问。它抽象了这些协议,提供易于使用的高层接口。

应用范围

WinINet不支持服务器实现。而且,不能在服务中使用。对于服务器实现或者在服务中使用,请使用WinHTTP(Microsoft Windows HTTP Service)。

开发者范围

WinINet API 被设计来供C/C++程序员使用。程序员必须对FTP、Gopher和HTTP协议有基本的理解。

运行时需求

使用WinINet API的应用要求Windows 95/98/ME,或者Windows NT 4.0,或者更高版本的Windows。对于使用特定编程元素所需要的操作系统或者组件的更多信息,见文档的需求节。

参考

Microsoft Windows HTTP Services (WinHTTP)

 

MSDN 2005 -> Win32 和 COM 开发 -> Networking -> Networking Protocols -> Windows Internet -> About WinINet

关于 WinINet

WinINet API 是一组允许应用与Gopher、FTP和HTTP协议交互以访问互联网资源的函数的集合。这些函数会处理底层协议发展过程中的变化,以保持函数一致的行为。

更多详细信息,请参考下列文档:

  • HINTERNET Handles
  • Caching
  • FTP Sessions
  • Gopher Sessions
  • HTTP Sessions
  • HTTP Cookies
  • Asynchronous Operation
  • Handling Authentication
  • Handling Uniform Resource Locators

Internet 协议

相关的三个主要互联网协议是:FTP、Gopher和HTTP,关于它们的详细信息,请参考相关RFC文档:

  • RFC 959, File Transfer Protocol (FTP).
  • RFC 1436, The Internet Gopher Protocol.
  • RFC 1945, Hypertext Transfer Protocol - HTTP/1.0.
  • RFC 2068, Hypertext Transfer Protocol - HTTP/1.1.

菊子曰 今天你菊子曰了么?
原创粉丝点击