Still trying to fix getpeername (works fine on Windows)...

This commit is contained in:
lotodore
2009-04-10 23:28:33 +00:00
parent 13eea26cdc
commit c732bd28f0
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -202,7 +202,6 @@ ServerAcceptThread::AcceptLoop()
{
// Set the size of the peer address.
tmpData->SetPeerAddrSize(addrLen);
tmpData->GetPeerAddr()->sa_family = context.GetAddrFamily();
// Optional calls - don't check return value.
// Enable keepalive - won't be of much use but better than nothing.