• 大小: 137KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-03
  • 语言: 其他
  • 标签: VC  SOCKET  异步  

资源简介

VC下SOCKET异步编程初学者很好的例子,欢迎下载学习。

资源截图

代码片段和文件信息

// This Winsock Wrapper replaces all MFC socket classes (CSocket CAsyncSocket
// CCeSocket). It offers async notifications buffered read and easy data access
// functions.
//
// Coded by Marco Zaratti / marco.zaratti@gmail.it / 2006.04.05
//
//////////////////////////////////////////////////////////////////////

#include “stdafx.h“
#include “CESocket.h“
#include 
#include 

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

bool CCESocket::m_bWSAStarted = FALSE;
#ifdef _WCE_SECTION
CRITICAL_SECTION CCESocket::m_readLock;
#else
CC

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

     文件      76318  2014-01-24 19:29  VC异步Socket TCP_demo.zip

     文件      24576  2006-06-25 17:23  CCESocket_demo\bin (win32)\GenClient.exe

     文件      24576  2006-06-25 17:26  CCESocket_demo\bin (win32)\GenServer.exe

     文件      18751  2010-12-27 09:42  CCESocket_demo\src\Common\CESocket.cpp

     文件      15043  2006-06-26 14:07  CCESocket_demo\src\Common\CESocket.h

     文件      10940  2006-04-06 15:21  CCESocket_demo\src\Common\containers.h

     文件        870  2006-04-15 00:49  CCESocket_demo\src\GenClient (win32)\ClientSocket.cpp

     文件        710  2006-04-15 00:49  CCESocket_demo\src\GenClient (win32)\ClientSocket.h

     文件      35524  2010-10-29 13:41  CCESocket_demo\src\GenClient (win32)\GenClient.aps

     文件       1902  2010-12-27 09:43  CCESocket_demo\src\GenClient (win32)\GenClient.clw

     文件       2072  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\GenClient.cpp

     文件       4563  2006-04-09 21:01  CCESocket_demo\src\GenClient (win32)\GenClient.dsp

     文件        541  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\GenClient.dsw

     文件       1357  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\GenClient.h

     文件       2058  2010-11-01 14:45  CCESocket_demo\src\GenClient (win32)\GenClient.plg

     文件       4908  2010-10-29 13:41  CCESocket_demo\src\GenClient (win32)\GenClient.rc

     文件       4797  2010-11-01 14:45  CCESocket_demo\src\GenClient (win32)\GenClientDlg.cpp

     文件       1729  2010-10-29 14:15  CCESocket_demo\src\GenClient (win32)\GenClientDlg.h

     文件       3633  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\ReadMe.txt

     文件       1078  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\res\GenClient.ico

     文件        401  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\res\GenClient.rc2

     文件        915  2006-04-09 20:36  CCESocket_demo\src\GenClient (win32)\Resource.h

     文件        211  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\StdAfx.cpp

     文件        999  2006-04-09 16:50  CCESocket_demo\src\GenClient (win32)\StdAfx.h

     文件      21140  2010-10-29 14:24  CCESocket_demo\src\GenServer (win32)\CCETest.aps

     文件       2559  2010-12-27 18:07  CCESocket_demo\src\GenServer (win32)\CCETest.clw

     文件       2044  2006-04-02 02:52  CCESocket_demo\src\GenServer (win32)\CCETest.cpp

     文件       4759  2010-10-29 18:01  CCESocket_demo\src\GenServer (win32)\CCETest.dsp

     文件        539  2006-06-25 17:28  CCESocket_demo\src\GenServer (win32)\CCETest.dsw

     文件       1335  2006-04-02 02:52  CCESocket_demo\src\GenServer (win32)\CCETest.h

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

评论

共有 条评论