mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
refs #883, added utility function ping
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1619a5ceb3
commit
92100c85f7
@@ -54,6 +54,10 @@ namespace BlackMisc
|
||||
//! \param withDebugOutput enables some debugging output
|
||||
static bool hasConnectedInterface(bool withDebugOutput = false);
|
||||
|
||||
//! Can ping the address?
|
||||
//! \note uses OS ping
|
||||
static bool canPing(const QString &hostAddress);
|
||||
|
||||
//! Can connect?
|
||||
//! \param hostAddress 130.4.20.3, or myserver.com
|
||||
//! \param port 80, 1234
|
||||
|
||||
Reference in New Issue
Block a user