From a3ee0416c029305b562650b56160061b958b8887 Mon Sep 17 00:00:00 2001 From: aaron0x Date: Fri, 16 Oct 2015 16:43:53 +0800 Subject: [PATCH] add comment. --- Net/include/Poco/Net/NetworkInterface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Net/include/Poco/Net/NetworkInterface.h b/Net/include/Poco/Net/NetworkInterface.h index 6115d4661..2cd35ac18 100644 --- a/Net/include/Poco/Net/NetworkInterface.h +++ b/Net/include/Poco/Net/NetworkInterface.h @@ -236,6 +236,9 @@ public: /// The ipVersion argument can be used to specify whether /// an IPv4 (IPv4_ONLY) or IPv6 (IPv6_ONLY) interface is required, /// or whether the caller does not care (IPv4_OR_IPv6). + /// + /// Throws an InterfaceNotFoundException if an interface + /// with the give name does not exist. static NetworkInterface forAddress(const IPAddress& address); /// Returns the NetworkInterface for the given IP address.