#include "StdAfx.h" #include ".\agentinfo.h" AgentInfo::AgentInfo(void) { m_Info.m_dwAgentKey = 0; ZeroMemory( m_Info.m_szIP, MAX_IP_SIZE ); } AgentInfo::~AgentInfo(void) { } BOOL AgentInfo::CompareIP( const TCHAR* pszIP ) { if( !pszIP ) return FALSE; if( strcmp( m_Info.m_szIP, pszIP ) == 0 ) return TRUE; return FALSE; }