public void Close(string message) { if (m_SocketArgs != null) { m_SocketArgs.Close(message); m_SocketArgs = null; } }
void KIVHandleClose(SocketArgs args) { args.Close(string.Empty); if (args != m_SocketArgs) { return; } Close(string.Empty); }