Backport #2257 to Poco 1.9.1

This commit is contained in:
proller
2018-06-04 07:29:28 +03:00
committed by Vojtěch Erben
parent 66fafef3e4
commit bada9ed2b9
4 changed files with 13 additions and 6 deletions

View File

@@ -192,11 +192,11 @@ void SecureSocketImpl::connectSSL(bool performHandshake)
}
void SecureSocketImpl::bind(const SocketAddress& address, bool reuseAddress)
void SecureSocketImpl::bind(const SocketAddress& address, bool reuseAddress, bool reusePort)
{
poco_check_ptr (_pSocket);
_pSocket->bind(address, reuseAddress);
_pSocket->bind(address, reuseAddress, reusePort);
}