资源简介
计算机网络课程设计,利用socket套接字编写出ping程序,测试本局域网的当前所有机器是否在线

代码片段和文件信息
// cyhping.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “cyhping.h“
#include “cyhpingDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCyhpingApp
BEGIN_MESSAGE_MAP(CCyhpingApp CWinApp)
//{{AFX_MSG_MAP(CCyhpingApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCyhpingApp construction
CCyhpingApp::CCyhpingApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCyhpingApp object
CCyhpingApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCyhpingApp initialization
BOOL CCyhpingApp::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
CCyhpingDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 22084 2018-01-06 22:40 cyhping\cyhping.aps
文件 2066 2018-01-09 23:28 cyhping\cyhping.clw
文件 2077 2017-12-28 15:50 cyhping\cyhping.cpp
文件 4177 2017-12-28 15:50 cyhping\cyhping.dsp
文件 539 2017-12-28 17:24 cyhping\cyhping.dsw
文件 1335 2017-12-28 15:50 cyhping\cyhping.h
文件 140288 2018-01-09 23:36 cyhping\cyhping.ncb
文件 51712 2018-01-09 23:36 cyhping\cyhping.opt
文件 956 2018-01-09 23:27 cyhping\cyhping.plg
文件 6657 2018-01-02 08:41 cyhping\cyhping.rc
文件 209 2017-12-29 14:08 cyhping\cyhping.sln
..A..H. 7168 2017-12-29 14:08 cyhping\cyhping.suo
文件 15048 2018-01-06 23:30 cyhping\cyhpingDlg.cpp
文件 1657 2017-12-30 17:13 cyhping\cyhpingDlg.h
文件 118840 2018-01-09 23:27 cyhping\Debug\cyhping.exe
文件 242676 2018-01-09 23:27 cyhping\Debug\cyhping.ilk
文件 15514 2017-12-29 09:51 cyhping\Debug\cyhping.obj
文件 5505284 2017-12-28 16:07 cyhping\Debug\cyhping.pch
文件 418816 2018-01-09 23:27 cyhping\Debug\cyhping.pdb
文件 3404 2018-01-04 16:55 cyhping\Debug\cyhping.res
文件 64009 2018-01-09 23:27 cyhping\Debug\cyhpingDlg.obj
文件 105770 2017-12-28 16:07 cyhping\Debug\StdAfx.obj
文件 246784 2018-01-09 23:27 cyhping\Debug\vc60.idb
文件 380928 2018-01-09 23:27 cyhping\Debug\vc60.pdb
文件 3597 2017-12-28 15:50 cyhping\ReadMe.txt
文件 1078 2017-12-28 15:50 cyhping\res\cyhping.ico
文件 399 2017-12-28 15:50 cyhping\res\cyhping.rc2
文件 1421 2017-12-29 21:18 cyhping\resource.h
文件 209 2017-12-28 15:50 cyhping\StdAfx.cpp
文件 1054 2017-12-28 15:50 cyhping\StdAfx.h
............此处省略6个文件信息
相关资源
- 04741计算机网络原理知识点整理.docx(
- 校园网络规划与设计课程设计
- SOCKET 网络编程 计算机网络 作业 客户
- 计算机网络课程设计—ARQ协议模拟实
- 计算机网络第五版 严伟
- 计算机网络(第6版)谢希仁教学课件
- 计算机网络自顶向下方法答案(第六
- 计算机网络管理员国家职业标准
- 计算机网络精讲视频教程
- 计算机网络 第7版 谢希仁 高清完美书
- 计算机网络(第5版)(Computer Networ
- 计算机网络课程设计 小型企业的
- 北航研究生计网实验报告.rar
- 计算机网络校园网课程设计
- 计算机网络24分游戏课设完整版
- 计算机网络(谢仁希第五版)课后答
- 计算机网络课程设计—设计一个校园
- 计算机网络第六版 教学视屏 网盘
- 计算机网络第7版谢希仁复习题完整版
- 计算机网络讲义-陈鸣
- 东北大学计算机网络期末试题+答案
- 计算机网络打作业实现QQ.zip
- 哈尔滨工业大学深圳 高级计算机网络
- 计算机网络(第七版).谢希仁
- 计算机网络socket编程实验
- 计算机网络谢仁希PPT教案
- 网络普及背景下的计算机网络安全问
- 2.5 SDNv2.pdf-中科大高级计算机网络课件
- 计算机网络课程设计: 基于P2P的局域
- 哈工大计网mooc答案,包含测验和期末
评论
共有 条评论