Coding issue using SMPP Server sending DLR do client.

Post Reply
abrdeco2
Posts: 4
Joined: Tue Jan 18, 2022 11:02 pm

Coding issue using SMPP Server sending DLR do client.

Post by abrdeco2 » Sat Feb 10, 2024 12:12 am

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.
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

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

Post by alt » Wed Apr 24, 2024 4:29 pm

You can use

Code: Select all

 DeliverAsync(..).ContinueWith(..)
See example
Post Reply