#include <CPing.h>
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 |
Definition at line 37 of file CPing.h.
CPing::CPing | ( | ) |
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().
BOOL CPing::bValid [private] |
CPing::DWORD [private] |
CPing::HANDLE [private] |
HANDLE CPing::hndlIcmp [private] |
CPing::LPVOID [private] |
CPing::PIPINFO [private] |
CPing::WORD [private] |