mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-01 02:57:51 +00:00
added comment about running raw ping
This commit is contained in:
@@ -48,6 +48,8 @@ ICMPClientTest::~ICMPClientTest()
|
|||||||
|
|
||||||
void ICMPClientTest::testPing()
|
void ICMPClientTest::testPing()
|
||||||
{
|
{
|
||||||
|
// In order to succeed, this test case must be run
|
||||||
|
// by user with permissions to acess raw sockets.
|
||||||
assert(ICMPClient::pingIPv4("localhost") > 0);
|
assert(ICMPClient::pingIPv4("localhost") > 0);
|
||||||
|
|
||||||
assert(_icmpClient.ping("localhost") > 0);
|
assert(_icmpClient.ping("localhost") > 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user