fix for bug 650 (PacketSocket Close()

This commit is contained in:
Duy Nguyen committed 2009-08-06 21:58:04 -07:00
1 parent 4b1a049884
commit bce9be4adb
1 file changed
+3 -1
+3 -1
View File
@@ -172,7 +172,7 @@ PacketSocket::ShutdownRecv (void)
m_errno = ERROR_BADF;
return -1;
}
m_shutdownRecv = false;
m_shutdownRecv = true;
return 0;
}
@@ -186,6 +186,8 @@ PacketSocket::Close(void)
return -1;
}
m_state = STATE_CLOSED;
m_shutdownSend = true;
m_shutdownRecv = true;
return 0;
}