internal void CloseSocket() { Socket socket = m_AbortSocket; Socket socket6 = m_AbortSocket6; m_NetworkStream.Close(); if (socket != null) { socket.Close(); } if (socket6 != null) { socket6.Close(); } }