mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
merge Unix Domain Sockets support and other changes from develop
This commit is contained in:
@@ -46,9 +46,9 @@ ICMPClientTest::~ICMPClientTest()
|
||||
|
||||
void ICMPClientTest::testPing()
|
||||
{
|
||||
assert(ICMPClient::pingIPv4("localhost") > 0);
|
||||
assert(ICMPClient::pingIPv4("127.0.0.1") > 0);
|
||||
|
||||
assert(_icmpClient.ping("localhost") > 0);
|
||||
assert(_icmpClient.ping("127.0.0.1") > 0);
|
||||
assert(_icmpClient.ping("www.appinf.com", 4) > 0);
|
||||
|
||||
// warning: may fail depending on the existence of the addresses at test site
|
||||
|
||||
Reference in New Issue
Block a user