Handling of open submits after reconnect if disconnected

.NET library for SMPP protocol
Locked
striemer
Posts: 6
Joined: Mon Feb 27, 2017 7:03 am

Handling of open submits after reconnect if disconnected

Post by striemer » Fri Jun 02, 2017 6:18 am

Hi All,

I am using SubmitAsync to submit messages. As there may be a disconnect happening while waiting for the submit completion, I wonder about the correct handling of messages which are waiting for the completion (ie. evSubmitComplete).

Thanks and best regards,
Stefan
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Handling of open submits after reconnect if disconnected

Post by alt » Wed Jun 07, 2017 5:00 pm

Hi Stefan,

When client disconnects you should get SubmitSmResp with Status = CommandStatus.SMPPCLIENT_NOCONN in evSubmitComplete event.
Locked