随笔分类 -
c++
-
使用Wininet函数实现Http Post方式文件上传(转-有用2)
只有注册用户登录后才能阅读该文。
-
base64编码与解码的C++实现(转)
只有注册用户登录后才能阅读该文。
-
base64编码解码的实现(C语言)-转
只有注册用户登录后才能阅读该文。
-
http post use winet(转)
只有注册用户登录后才能阅读该文。
-
WinINet http与一个Http服务器通信下载
摘要://下载文件szFileURL从nStart开始nLen字节,下载内容用ppIResult带回 ENetRequestResult CFileTransfer::DownloadFile(const char* szFileURL, unsigned int nStart, unsigned int nLen, IMemBlock** ppIResul...
阅读全文
-
使用Wininet函数实现Http Post方式文件上传(转-有用)
只有注册用户登录后才能阅读该文。
-
http post(use CInternetSession)
摘要:CString DomainWinIntet::Login(const CString& userId,const CString& passWord) { CString text; CString resource; CInternetSession m_session(NULL,0); CHttpFile* pHttpFile=(CHttpFil...
阅读全文
-
http 代理
摘要:C/C++ code #include #include #include #include #include "SockInit.h" using namespace std; #define MAX_REQUESTLINE_LEN 2048 // IE请求行长度 void __cdecl ServerThreadProc(void *param); int TCPsend(S...
阅读全文
-
use c++ http post file
摘要:/*------------------------------------------------------------------------------------------------------------------- 函数功能:发送HTTP头 参 数:sockfd 服务器句柄; head HTTP头 返回值: 成功返回0,失败返回错误代码 -----...
阅读全文
-
用socket进行post表单
摘要:#include #include "winsock.h" #pragma comment(lib,"ws2_32.lib") #define winsock_version 0x0101 void main() { //If it works,it is written by mas...
阅读全文
-
利用Win32的网络函数创建一个网络浏览器
摘要:摘要 这篇技术性文章讨论了如何利用Microsoft Win32网络函数创建一个网络浏览器。这篇文章的宗旨是让读者了解一些Win32网络函数的作用、能力和使用范围,而不是为这些功能给出一个详细的文档。这篇文章所配合的SurfBear样本应用程序使用Win32网络函数从网络服务器上读取HTML文件,并把它们显示成原始的、没有经过格式化的文本。 介绍 不通过网络,你就无法了解我的一个朋友。计算机杂...
阅读全文
-
c++ post file(转载)
摘要:http://support.microsoft.com/?kbid=177188 http://support.microsoft.com/kb/184352/ZH-TW/ http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/vccore/html/_core_steps_in_a_typical_http...
阅读全文
|