Example #1
0
        /// <summary>
        /// Send response
        /// </summary>
        /// <param name="size"></param>
        protected void SendResponse(int size)
        {
            var _r = responseObject;

            responseObject = null;
            try
            {
                messageManager.Send(socket, _r, 0, size);
            }
            catch
            {
                messageManager.Return(_r);
            }
        }