mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
- fixed GH# 233: ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only) does not work
- fixed GH# 231: Compatibility issue with Poco::Net::NetworkInterface - removed unneeded zlib sources
This commit is contained in:
@@ -116,7 +116,7 @@ void ServerSocket::bind6(const SocketAddress& address, bool reuseAddress, bool i
|
||||
|
||||
void ServerSocket::bind6(Poco::UInt16 port, bool reuseAddress, bool ipV6Only)
|
||||
{
|
||||
IPAddress wildcardAddr;
|
||||
IPAddress wildcardAddr(IPAddress::IPv6);
|
||||
SocketAddress address(wildcardAddr, port);
|
||||
impl()->bind6(address, reuseAddress, ipV6Only);
|
||||
}
|
||||
|
Reference in New Issue
Block a user