• 大小: 88.43MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-03-10
  • 语言: 其他
  • 标签: CSocket  多线程  聊天  

资源简介

CSocket多线程聊天室源码,运行调试OK,推荐给大家使用。

资源截图

代码片段和文件信息

// CClientSocket.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CClientSocket.h“
#include “CClientSocketDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CCClientSocketApp

BEGIN_MESSAGE_MAP(CCClientSocketApp CWinApp)
//{{AFX_MSG_MAP(CCClientSocketApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCClientSocketApp construction

CCClientSocketApp::CCClientSocketApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CCClientSocketApp object

CCClientSocketApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCClientSocketApp initialization

BOOL CCClientSocketApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CCClientSocketDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

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

     文件        891  2010-08-25 14:18  CSocket多线程\CClientSocket\Backup\CClientSocket.sln

    ..A..H.     12288  2010-08-27 15:27  CSocket多线程\CClientSocket\Backup\CClientSocket.v12.suo

     文件      23568  2018-07-04 23:51  CSocket多线程\CClientSocket\CClientSocket.aps

     文件       1271  2009-03-17 13:54  CSocket多线程\CClientSocket\CClientSocket.clw

     文件       2161  2009-03-13 19:22  CSocket多线程\CClientSocket\CClientSocket.cpp

     文件       4285  2009-03-13 19:22  CSocket多线程\CClientSocket\CClientSocket.dsp

     文件       1401  2009-03-13 19:22  CSocket多线程\CClientSocket\CClientSocket.h

     文件   12848128  2010-08-27 15:27  CSocket多线程\CClientSocket\CClientSocket.ncb

     文件        260  2009-03-17 13:53  CSocket多线程\CClientSocket\CClientSocket.plg

     文件       5510  2009-03-13 19:24  CSocket多线程\CClientSocket\CClientSocket.rc

     文件   71499776  2018-07-07 20:07  CSocket多线程\CClientSocket\CClientSocket.sdf

     文件        971  2018-07-04 23:49  CSocket多线程\CClientSocket\CClientSocket.sln

    ..A..H.     12288  2010-08-27 15:27  CSocket多线程\CClientSocket\CClientSocket.suo

    ..A..H.     23552  2018-07-07 20:07  CSocket多线程\CClientSocket\CClientSocket.v12.suo

     文件       7412  2010-08-25 08:37  CSocket多线程\CClientSocket\CClientSocket.vcproj

     文件       1403  2010-08-27 15:27  CSocket多线程\CClientSocket\CClientSocket.vcproj.LPK.Administrator.user

     文件       8311  2018-07-04 23:54  CSocket多线程\CClientSocket\CClientSocket.vcxproj

     文件       1983  2018-07-04 23:49  CSocket多线程\CClientSocket\CClientSocket.vcxproj.filters

     文件       5822  2010-08-25 19:31  CSocket多线程\CClientSocket\CClientSocketDlg.cpp

     文件       1571  2009-03-17 13:30  CSocket多线程\CClientSocket\CClientSocketDlg.h

     文件      99840  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.exe

     文件    1216780  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.ilk

     文件       2888  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.log

     文件      33456  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.obj

     文件   27525120  2018-07-04 23:54  CSocket多线程\CClientSocket\Debug\CClientSocket.pch

     文件    5155840  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.pdb

     文件       2656  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.res

     文件        187  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.tlog\CClientSocket.lastbuildstate

     文件       2416  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.tlog\cl.command.1.tlog

     文件      35124  2018-07-04 23:55  CSocket多线程\CClientSocket\Debug\CClientSocket.tlog\CL.read.1.tlog

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

评论

共有 条评论