changed SocketAddress::SocketAddress() to set the family value to QSE_AF_UNSPEC
This commit is contained in:
parent
ef2f65e813
commit
e5d7bba381
@ -86,6 +86,7 @@ QSE_BEGIN_NAMESPACE(QSE)
|
|||||||
SocketAddress::SocketAddress () QSE_CPP_NOEXCEPT
|
SocketAddress::SocketAddress () QSE_CPP_NOEXCEPT
|
||||||
{
|
{
|
||||||
QSE_MEMSET (&this->skad, 0, QSE_SIZEOF(this->skad));
|
QSE_MEMSET (&this->skad, 0, QSE_SIZEOF(this->skad));
|
||||||
|
FAMILY(&this->skad) = QSE_AF_UNSPEC;
|
||||||
}
|
}
|
||||||
|
|
||||||
SocketAddress::SocketAddress (int family) QSE_CPP_NOEXCEPT
|
SocketAddress::SocketAddress (int family) QSE_CPP_NOEXCEPT
|
||||||
|
Loading…
Reference in New Issue
Block a user