www.pudn.com > agentnet.zip > AgentNetServer.h


// AgentNetServer.h : main header file for the AGENTNETSERVER application 
// 
 
#if !defined(AFX_AGENTNETSERVER_H__0639D0DD_C35D_4415_98BB_DCEC5042B381__INCLUDED_) 
#define AFX_AGENTNETSERVER_H__0639D0DD_C35D_4415_98BB_DCEC5042B381__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 
 
///////////////////////////////////////////////////////////////////////////// 
// CAgentNetServerApp: 
// See AgentNetServer.cpp for the implementation of this class 
// 
//服务器端平 IP 地址  与 端口定义 
#define SERVER_TCP_PORT 5040 
#define SERVER_AGENT_NAME "agent_net_server" 
 
class CAgentNetServerApp : public CWinApp 
{ 
public: 
	CAgentNetServerApp(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CAgentNetServerApp) 
	public: 
	virtual BOOL InitInstance(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
 
	//{{AFX_MSG(CAgentNetServerApp) 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_AGENTNETSERVER_H__0639D0DD_C35D_4415_98BB_DCEC5042B381__INCLUDED_)