CPing Class Reference

#include <CPing.h>

List of all members.

Public Member Functions

 CPing ()
 ~CPing ()
BOOL Ping (char *strHost)
int WIN32GetMAC (const char *ip_address, char *mac_address)
void readOutARP ()

Private Member Functions

 HANDLE (WINAPI *pIcmpCreateFile)(VOID)
 BOOL (WINAPI *pIcmpCloseHandle)(HANDLE)

Private Attributes

 HANDLE
 DWORD
 LPVOID
 WORD
 PIPINFO
HANDLE hndlIcmp
BOOL bValid


Detailed Description

Definition at line 37 of file CPing.h.


Constructor & Destructor Documentation

CPing::CPing (  ) 

Definition at line 11 of file CPing.cpp.

References BOOL(), bValid, DWORD, FALSE, GetProcAddress(), HANDLE, hndlIcmp, LPVOID, TRUE, void(), and WORD.

CPing::~CPing (  ) 

Definition at line 62 of file CPing.cpp.

References hndlIcmp.


Member Function Documentation

CPing::BOOL ( WINAPI *  pIcmpCloseHandle  )  [private]

Referenced by CPing().

CPing::HANDLE ( WINAPI *  pIcmpCreateFile  )  [private]

int CPing::Ping ( char *  strHost  ) 

Definition at line 68 of file CPing.cpp.

References bValid, DWORD, FALSE, HANDLE, tagIPINFO::IPFlags, tagIPINFO::Options, tagIPINFO::OptSize, tagICMPECHO::Source, tagICMPECHO::Status, tagIPINFO::Tos, TRUE, and tagIPINFO::Ttl.

Referenced by CWLANDeployDialog::OnPingAll(), and CWLANDeployDialog::OnRefreshAll().

void CPing::readOutARP (  ) 

Definition at line 134 of file CPing.cpp.

References File::getGTDir().

Referenced by CWLANDeployDialog::OnPingAll().

int CPing::WIN32GetMAC ( const char *  ip_address,
char *  mac_address 
)

Definition at line 143 of file CPing.cpp.

References InStream< S, R >::eof(), InFile::exists(), and File::getGTDir().

Referenced by CWLANDeployDialog::OnPingAll().


Member Data Documentation

BOOL CPing::bValid [private]

Definition at line 52 of file CPing.h.

Referenced by CPing(), and Ping().

CPing::DWORD [private]

Definition at line 50 of file CPing.h.

Referenced by CPing(), and Ping().

CPing::HANDLE [private]

Definition at line 50 of file CPing.h.

Referenced by CPing(), and Ping().

HANDLE CPing::hndlIcmp [private]

Definition at line 51 of file CPing.h.

Referenced by CPing(), and ~CPing().

CPing::LPVOID [private]

Definition at line 50 of file CPing.h.

Referenced by CPing().

CPing::PIPINFO [private]

Definition at line 50 of file CPing.h.

CPing::WORD [private]

Definition at line 50 of file CPing.h.

Referenced by CPing().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:23:46 2006 for DT2005.panorama by  doxygen 1.4.7