/// <summary>
        /// Initiates reading incoming content from the socket and dispatching it to the message handler manager.
        /// Should be called only once for persistent and named connections.
        /// </summary>
        /// <param name="sharedMemoryConnection">The connection.</param>
        internal void Connection_InitiateReceiving(SharedMemoryConnection sharedMemoryConnection)
        {
            SynchronousReceiving synchronousReceiving = new SynchronousReceiving();

            synchronousReceiving.SharedMemoryConnection        = sharedMemoryConnection;
            synchronousReceiving.SharedMemoryConnectionManager = this;
            Thread thread = new Thread(new ThreadStart(synchronousReceiving.ReceiveSynchronously));

            thread.IsBackground = true;
            thread.Start();
        }
 /// <summary>
 /// Initiates reading incoming content from the socket and dispatching it to the message handler manager.
 /// Should be called only once for persistent and named connections.
 /// </summary>
 /// <param name="sharedMemoryConnection">The connection.</param>
 internal void Connection_InitiateReceiving(SharedMemoryConnection sharedMemoryConnection)
 {
     SynchronousReceiving synchronousReceiving = new SynchronousReceiving();
     synchronousReceiving.SharedMemoryConnection = sharedMemoryConnection;
     synchronousReceiving.SharedMemoryConnectionManager = this;
     Thread thread = new Thread(new ThreadStart(synchronousReceiving.ReceiveSynchronously));
     thread.IsBackground = true;
     thread.Start();
 }