public void Close() { // Mark the socket as disposed m_disposed = true; // Transfer the ownership of the socket from this application thread // to the reaper thread which will take care of the rest of shutdown // process. SendReap(this); }