示例#1
0
        /// <summary>
        /// Function to send a raw buffer to the server
        /// </summary>
        /// <param name="rawBuffer"> A Raw buffer of bytes to send </param>
        public bool Send(DataPacket o, out int length)
        {
            var buffer = BufferFormat.FormatFCA(o);

            length = buffer.Length;
            return(Send(buffer));
        }
示例#2
0
        /// <summary>
        /// Function to send a raw buffer to the server
        /// </summary>
        /// <param name="rawBuffer"> A Raw buffer of bytes to send </param>
        public bool Send(DataPacket o)
        {
            var buffer = BufferFormat.FormatFCA(o);

            return(Send(buffer));
        }