www.pudn.com > agentnet.zip > AgentNetClient.h
// AgentNetClient.h : main header file for the AGENTNETCLIENT application
//
#if !defined(AFX_AGENTNETCLIENT_H__29835E17_E459_4304_BAE6_D331C4792630__INCLUDED_)
#define AFX_AGENTNETCLIENT_H__29835E17_E459_4304_BAE6_D331C4792630__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
//服务器端平 IP 地址 与 端口定义
#define SERVER_IP_ADDRESS "10.0.11.27"
#define SERVER_TCP_PORT 5040
#define SERVER_AGENT_NAME "agent_net_server"
/////////////////////////////////////////////////////////////////////////////
// CAgentNetClientApp:
// See AgentNetClient.cpp for the implementation of this class
//
class CAgentNetClientApp : public CWinApp
{
public:
CAgentNetClientApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAgentNetClientApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CAgentNetClientApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AGENTNETCLIENT_H__29835E17_E459_4304_BAE6_D331C4792630__INCLUDED_)