• 大小: 0.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-29
  • 语言: C/C++
  • 标签: Socket  http  c  POS  POST  

资源简介

VC Socket GETPOST发送HTTP请求示例

资源截图

代码片段和文件信息

// ClientSocket.cpp : implementation file
// Download by http://www.NewXing.com

#include “stdafx.h“
#include “HTTPClient.h“
#include “ClientSocket.h“
#include “HttpClientView.h“
#include “clientsocket.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CClientSocket

CClientSocket::CClientSocket(CHTTPClientView* pView)
{
m_pView = pView;
}

CClientSocket::~CClientSocket()
{
}


// Do not edit the following lines which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CClientSocket CAsyncSocket)
//{{AFX_MSG_MAP(CClientSocket)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0

/////////////////////////////////////////////////

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      47376  2001-07-17 17:18  www.NewXing.com\HTTPClient.aps

     文件       1078  2001-07-17 17:18  www.NewXing.com\RES\Toolbar.bmp

     文件       3619  2001-07-17 17:18  www.NewXing.com\HTTPClient.clw

     文件       1521  2010-08-14 23:29  www.NewXing.com\ClientSocket.cpp

     文件       1167  2001-07-17 17:18  www.NewXing.com\CntrItem.cpp

     文件       4579  2010-08-14 23:29  www.NewXing.com\HTTPClient.cpp

     文件       2652  2010-08-14 23:29  www.NewXing.com\HTTPClientDoc.cpp

     文件       7407  2010-08-14 23:29  www.NewXing.com\HTTPClientView.cpp

     文件       2406  2010-08-14 23:29  www.NewXing.com\MainFrm.cpp

     文件       2814  2010-08-14 23:29  www.NewXing.com\Request.cpp

     文件        212  2001-07-17 17:18  www.NewXing.com\StdAfx.cpp

     文件       5033  2001-07-17 17:18  www.NewXing.com\HTTPClient.dsp

     文件        545  2001-07-17 17:18  www.NewXing.com\HTTPClient.dsw

     文件       1350  2001-07-17 17:18  www.NewXing.com\ClientSocket.h

     文件       1606  2001-07-17 17:18  www.NewXing.com\CntrItem.h

     文件       1400  2001-07-17 17:18  www.NewXing.com\HTTPClient.h

     文件       1591  2001-07-17 17:18  www.NewXing.com\HTTPClientDoc.h

     文件       2382  2001-07-17 17:18  www.NewXing.com\HTTPClientView.h

     文件       1440  2001-07-17 17:18  www.NewXing.com\MainFrm.h

     文件        683  2001-07-17 17:18  www.NewXing.com\Request.h

     文件       1057  2001-07-17 17:18  www.NewXing.com\Resource.h

     文件       1253  2001-07-17 17:18  www.NewXing.com\StdAfx.h

     文件         77  2001-07-17 17:18  www.NewXing.com\POST.HTM

     文件       1078  2001-07-17 17:17  www.NewXing.com\RES\HTTPClient.ico

     文件       1078  2001-07-17 17:18  www.NewXing.com\RES\HTTPClientDoc.ico

     文件      15174  2001-07-17 17:18  www.NewXing.com\HTTPClient.rc

     文件        402  2001-07-17 17:18  www.NewXing.com\RES\HTTPClient.rc2

     文件        118  2001-07-17 17:18  www.NewXing.com\ReadMe.txt

     目录          0  2009-08-04 23:53  www.NewXing.com\RES

----------- ---------  ---------- -----  ----

............此处省略2个文件信息

评论

共有 条评论