コード例 #1
0
ファイル: SmppClient.cs プロジェクト: kamaroly/SMPPClient
        /// <summary> Called to send a message to the SMPP server </summary>
        /// <param name="packet"></param>
        public void SendPacket(IPacket packet)
        {
            try
            {
                OnPduDetails(PduDirectionTypes.Sent, (Header) packet);

                _SocketClient.Send(packet.GetPDU());
            }

            catch (Exception exception)
            {
                OnError("SendPacket", exception);
            }
        }