• 大小: 7.17MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-25
  • 语言: 其他
  • 标签: 套接字  聊天程序  

资源简介

基于异步套接字的编程,演示了异步套接字的主要思想了 实现了网络聊天程序

资源截图

代码片段和文件信息

// ChangeNameDlg.cpp : implementation file
//

#include “stdafx.h“
#include “Example1.h“
#include “ChangeNameDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CChangeNameDlg dialog


CChangeNameDlg::CChangeNameDlg(CWnd* pParent /*=NULL*/)
: CDialog(CChangeNameDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CChangeNameDlg)
m_sName = _T(““);
//}}AFX_DATA_INIT
}


void CChangeNameDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChangeNameDlg)
DDX_Text(pDX IDC_NAME m_sName);
DDV_MaxChars(pDX m_sName 100);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CChangeNameDlg CDialog)
//{{AFX_MSG_MAP(CChangeNameDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChangeNameDlg message handlers

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

     文件       1038  2003-06-27 20:26  ChatRoom(Winsock)\ChangeNameDlg.cpp

     文件       1253  2003-06-27 20:26  ChatRoom(Winsock)\ChangeNameDlg.h

     文件       1956  2003-06-27 19:52  ChatRoom(Winsock)\Client.cpp

     文件        811  2003-06-27 17:12  ChatRoom(Winsock)\Client.h

     文件      12708  2009-10-20 15:08  ChatRoom(Winsock)\Debug\BuildLog.htm

     文件      21830  2009-10-20 15:08  ChatRoom(Winsock)\Debug\ChangeNameDlg.obj

     文件      16849  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Client.obj

     文件     151552  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.exe

     文件        660  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.exe.embed.manifest

     文件        724  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.exe.embed.manifest.res

     文件        625  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.exe.intermediate.manifest

     文件    1224740  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.ilk

     文件      40743  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.obj

     文件   13631488  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.pch

     文件    3533824  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.pdb

     文件       3024  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1.res

     文件      93480  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Example1Dlg.obj

     文件         67  2009-10-20 15:08  ChatRoom(Winsock)\Debug\mt.dep

     文件      10368  2009-10-20 15:08  ChatRoom(Winsock)\Debug\Server.obj

     文件     332024  2009-10-20 15:08  ChatRoom(Winsock)\Debug\StdAfx.obj

     文件     707584  2009-10-20 15:08  ChatRoom(Winsock)\Debug\vc80.idb

     文件     700416  2009-10-20 15:08  ChatRoom(Winsock)\Debug\vc80.pdb

     文件      22556  2009-10-20 15:17  ChatRoom(Winsock)\Example1.aps

     文件       1753  2003-12-08 15:41  ChatRoom(Winsock)\Example1.clw

     文件       2091  2003-06-26 19:09  ChatRoom(Winsock)\Example1.cpp

     文件       4618  2003-06-27 20:45  ChatRoom(Winsock)\Example1.dsp

     文件        541  2003-06-26 18:39  ChatRoom(Winsock)\Example1.dsw

     文件       1346  2003-06-26 18:39  ChatRoom(Winsock)\Example1.h

     文件   10210304  2009-10-20 21:44  ChatRoom(Winsock)\Example1.ncb

     文件      56832  2005-06-11 09:02  ChatRoom(Winsock)\Example1.opt

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

评论

共有 条评论