Page 1 of 1

Coding issue using SMPP Server sending DLR do client.

Posted: Sat Feb 10, 2024 12:12 am
by abrdeco2
How could I get the status of a sent DLR using DeliverAsync to an remote client without use await on the code ?

I deal with a large ammount of messages. Does the library has any event that I can check if had any error on the DLR sent ?

Currently I´m sending the dlr using the command item.DeliverAsync(dlrBuilder).ConfigureAwait(false);

I´m stuck on it. Using release 2.9.32(latest)

Thankyou.

Re: Coding issue using SMPP Server sending DLR do client.

Posted: Wed Apr 24, 2024 4:29 pm
by alt
You can use

Code: Select all

 DeliverAsync(..).ContinueWith(..)
See example