.NET library for SMPP protocol
sreekala
Posts: 2 Joined: Tue Jun 10, 2014 12:36 pm
Post
by sreekala » Tue Sep 22, 2015 10:17 am
Im trying to retrieve long message using following code
Code: Select all
if (data.Concatenation != null)
{
_messageComposer.AddMessage(data);
if (_messageComposer.IsLastSegment(data))
{
messageText = _messageComposer.GetFullMessage(data);
AddUILog("last segment" + messageText);
}
}
. But when i debug i always get (_messageComposer.IsLastSegment(data)) as false.. How can i retrieve full message?
alt
Site Admin
Posts: 992 Joined: Tue Apr 25, 2006 9:45 am
Post
by alt » Wed Sep 23, 2015 3:19 pm
Could you show trace file? what do you receive from server?
IsLastSegment is true only when all concatenated parts are received.
It can be that you receive wrong concatenation parameters.