net/SocketAddress: add method IsV6Any()
This commit is contained in:
@@ -95,6 +95,12 @@ public:
|
||||
}
|
||||
|
||||
#ifdef HAVE_TCP
|
||||
/**
|
||||
* Is this the IPv6 wildcard address (in6addr_any)?
|
||||
*/
|
||||
gcc_pure
|
||||
bool IsV6Any() const noexcept;
|
||||
|
||||
/**
|
||||
* Extract the port number. Returns 0 if not applicable.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user