Hi Alt,
the event client_evDeliverSm starts firing before the submitasync has given process all the messages.
IEnumerable<SubmitSmResp> ResponseList = (await SMPPClient.SubmitAsync(batch)).ToArray();
before ResponseList is populated with responses client_evDeliverSm starts firing this creates a problem on how to match delivery receipt with the messageid as the messageid is provided by the server and it before getting messageid delivery receipt is coming. please tell a solution.
thanks
client_evDeliverSm Fires Before SubmitAsync Is Completed
Re: client_evDeliverSm Fires Before SubmitAsync Is Completed
Hi vineet,
It is normal case. SMPP is asynchronous protocol. When you cannot find MessageId in sent messages, you need to save received delivery receipts in some collection/dictionary and process it when you finish with batch sending.
It is normal case. SMPP is asynchronous protocol. When you cannot find MessageId in sent messages, you need to save received delivery receipts in some collection/dictionary and process it when you finish with batch sending.
Re: client_evDeliverSm Fires Before SubmitAsync Is Completed
Thanks alt we have done the same way implemented dictionary.