Esempio n. 1
0
        public override int Send(byte[] bData, int nLength, bool bTransform)
        {
            int nRet = base.Send(bData, nLength, bTransform);

            if ((bTransform == true) && (nRet == nLength))
            {
                string strSend = System.Text.UTF8Encoding.UTF8.GetString(bData, 0, nLength);
                XMPPClient.FireXMLSent(strSend);
            }

            return(nRet);
        }