13 lines
171 B
C
13 lines
171 B
C
|
#ifndef PING_H
|
||
|
#define PING_H
|
||
|
|
||
|
#include <QString>
|
||
|
|
||
|
class Ping
|
||
|
{
|
||
|
public:
|
||
|
static double ping(const QString &host, int tries, double timeout = 2.5);
|
||
|
};
|
||
|
|
||
|
#endif // PING_H
|