upgraded use DNS asynchronously in order to avoid lock ups

This commit is contained in:
Jeff Hill
2000-10-10 22:39:36 +00:00
parent f967804a0d
commit 05134e7b9f
11 changed files with 106 additions and 16 deletions

View File

@@ -51,7 +51,7 @@ void hostNameCache::hostName ( char *pBuf, unsigned bufSize ) const
}
else {
osiSockAddr tmpAddr = this->address ();
sockAddrToDottedA ( &tmpAddr.sa, pBuf, bufSize );
sockAddrToDottedIP ( &tmpAddr.sa, pBuf, bufSize );
}
pBuf [ bufSize - 1u ] = '\0';
}