changed SocketAddress::SocketAddress() to set the family value to QSE_AF_UNSPEC

This commit is contained in:
hyung-hwan 2022-01-18 14:00:33 +00:00
parent ef2f65e813
commit e5d7bba381

View File

@ -86,6 +86,7 @@ QSE_BEGIN_NAMESPACE(QSE)
SocketAddress::SocketAddress () QSE_CPP_NOEXCEPT
{
QSE_MEMSET (&this->skad, 0, QSE_SIZEOF(this->skad));
FAMILY(&this->skad) = QSE_AF_UNSPEC;
}
SocketAddress::SocketAddress (int family) QSE_CPP_NOEXCEPT