/// <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); } }