直接用socket实现HTTP协议(下载专用) 作者:北方工业大学2000级计算机4班 querw 从HTTP服务器上下载一个文件有很多方法,"热心"...
代码说明:
直接用socket实现HTTP协议(下载专用) 作者:北方工业大学2000级计算机4班 querw 从HTTP服务器上下载一个文件有很多方法,"热心"的微软提供了WinInet类,用起来也很方便.当然,我们也可以自己实现这些功能,通过格式化请求头很容易就能实现断点续传和检查更新等等功能.- Straight takes over the use of socket to realize the HTTP agreement (special-purpose downloading) the author: North industrial university 2,000 levels of computers 4 class of querw downloaded a document from the HTTP server to have very many methods, the "warm-hearted" Microsoft has provided the WinInet kind, used very to be also convenient Certainly, we also may own realize these functions, is very easy through formatted request to be able to realize the break point to continue passes on and inspects renewal and so on function
下载说明:请别用迅雷下载,失败请重下,重下不扣分!