Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef ICMPCLIENT_H
|
||||
#define ICMPCLIENT_H
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace Network {
|
||||
|
||||
class IcmpClientImpl;
|
||||
|
||||
class IcmpClient
|
||||
{
|
||||
public:
|
||||
IcmpClient();
|
||||
~IcmpClient();
|
||||
|
||||
public:
|
||||
bool Ping(const std::string& targetAddress);
|
||||
|
||||
private:
|
||||
std::unique_ptr<IcmpClientImpl> m_pIcmpClientImpl;
|
||||
};
|
||||
|
||||
} // namespace Network
|
||||
|
||||
#endif // ICMPCLIENT_H
|
||||
|
||||
Reference in New Issue
Block a user