资源简介
TCP socket 远程抄表,属于学术作品,可以供参考

代码片段和文件信息
// Client.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Client.h“
#include “ClientDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClientApp
BEGIN_MESSAGE_MAP(CClientApp CWinApp)
//{{AFX_MSG_MAP(CClientApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CClientApp construction
CClientApp::CClientApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CClientApp object
CClientApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CClientApp initialization
BOOL CClientApp::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
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
CClientDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 36932 2010-12-25 16:03 Net\Client\Client.aps
文件 2140 2010-12-26 11:37 Net\Client\Client.clw
文件 2157 2010-12-24 17:03 Net\Client\Client.cpp
文件 4558 2010-12-25 01:52 Net\Client\Client.dsp
文件 520 2010-12-24 17:03 Net\Client\Client.dsw
文件 1324 2010-12-24 17:03 Net\Client\Client.h
文件 74752 2010-12-26 11:50 Net\Client\Client.ncb
文件 56832 2010-12-26 11:50 Net\Client\Client.opt
文件 1018 2010-12-25 23:30 Net\Client\Client.plg
文件 6951 2010-12-25 16:03 Net\Client\Client.rc
文件 13419 2010-12-25 23:30 Net\Client\ClientDlg.cpp
文件 2248 2010-12-25 16:37 Net\Client\ClientDlg.h
文件 1873 2010-12-24 18:08 Net\Client\ClientSocket.cpp
文件 1483 2010-12-24 18:00 Net\Client\ClientSocket.h
文件 3728384 2010-12-25 23:30 Net\Client\Debug\Client.bsc
文件 131140 2010-12-25 23:30 Net\Client\Debug\Client.exe
文件 407884 2010-12-25 23:30 Net\Client\Debug\Client.ilk
文件 15909 2010-12-25 16:38 Net\Client\Debug\Client.obj
文件 7083212 2010-12-24 23:43 Net\Client\Debug\Client.pch
文件 476160 2010-12-25 23:30 Net\Client\Debug\Client.pdb
文件 3496 2010-12-25 16:08 Net\Client\Debug\Client.res
文件 0 2010-12-25 16:38 Net\Client\Debug\Client.sbr
文件 75873 2010-12-25 23:30 Net\Client\Debug\ClientDlg.obj
文件 0 2010-12-25 23:30 Net\Client\Debug\ClientDlg.sbr
文件 15808 2010-12-25 16:38 Net\Client\Debug\ClientSocket.obj
文件 0 2010-12-25 16:38 Net\Client\Debug\ClientSocket.sbr
文件 7002 2010-12-25 16:38 Net\Client\Debug\ListenSocket.obj
文件 0 2010-12-25 16:38 Net\Client\Debug\ListenSocket.sbr
文件 13956 2010-12-24 23:43 Net\Client\Debug\Message.obj
文件 0 2010-12-24 23:43 Net\Client\Debug\Message.sbr
............此处省略73个文件信息
相关资源
- Omron ETN21模块进行modbustcp通讯
- 通信软件的具体实例──基于Socket的
- 用Socket编程实现FTP
- websocket实现一对一聊天
- 组态王中S7-300TCP驱动
- 基于Apache Mina实现的TCP长连接和短连接
- CVI下的TCP服务器和客户端
- 代码客:G-TcpServer(IOCP) 1.0 正式版及
- TCP 发包工具(windows)
- SOCKET 网络编程 计算机网络 作业 客户
- linux 网络实验 ftp程序
- 用Socket写的简易FTP服务器和客户端
- VxWorks TCPIP协议栈
- socket小工具(可方便建立TCP UDP的soc
- socket客户端源码
- vc 编写的基于TCP协议的客户/服务器
- 基于CSocket的多人聊天室
- 采用WINSOCK2 编写的TCP/UDP通信程序
- socket文件传输源码
- Modbus TCP Client
- 易语言 TCP使用HTTP、SOCKES5代理IP。
- 西门子S7-1200 MODBUS-TCP通讯编程
- 200SMART Modbus-TCP通信程序演示-轮询(多
- Socket自制系统
- HP用SOCKET实现(客户端---服务端)
- TCP_UDP对结构体加密数据传输
- 基于PIC的TCP/IP网络协议和zigbee无线传
- 欧姆龙PLC tcp通信工具
- 欧姆龙以太网通讯TCP/UDP及欧姆龙PLC程
- zeromq的windows版本安装包
评论
共有 条评论