StartReaping() private method

Using this function reaper thread ask the socket to register with its poller.
private StartReaping ( [ poller ) : void
poller [
return void
Example #1
0
        /// <summary>
        /// Add the given socket to the list to be reaped (terminated).
        /// </summary>
        /// <param name="socket">the socket to add to the list for termination</param>
        protected override void ProcessReap(SocketBase socket)
        {
            // Add the socket to the poller.
            socket.StartReaping(m_poller);

            ++m_sockets;
        }