More than one submit in the same network frame

Post Reply
aordonez
Posts: 7
Joined: Wed Jun 05, 2019 11:40 am

More than one submit in the same network frame

Post by aordonez » Tue Jan 12, 2021 8:26 pm

Hi, I'm using SMPP client v 2.8.6 and my SMS provider warning me about to send several submits in the same frame, but I can't find any option in the library to handle it.
It's possible to control it?
below a tcpdump as an example
Image
Attachments
zz.png
zz.png (22.17 KiB) Viewed 203 times
alt
Site Admin
Posts: 889
Joined: Tue Apr 25, 2006 9:45 am

Re: More than one submit in the same network frame

Post by alt » Wed Jan 13, 2021 11:26 am

Hi aordonez,

Do you mean that the SMS provider requires to send each SMPP PDU in a single TCP packet?

This can significantly reduce the performance.

I could add the option in current beta version v.2.9.
aordonez
Posts: 7
Joined: Wed Jun 05, 2019 11:40 am

Re: More than one submit in the same network frame

Post by aordonez » Wed Jan 13, 2021 12:00 pm

Hi, that's correct.

I'm assume it will impact directly in the performance.

There is any chance to set this new behavior by smppclient?, because there is no problem with the rest of the providers we have.
alt
Site Admin
Posts: 889
Joined: Tue Apr 25, 2006 9:45 am

Re: More than one submit in the same network frame

Post by alt » Wed Jan 13, 2021 12:09 pm

Yes, this option will be defined in the SmppClient.
aordonez
Posts: 7
Joined: Wed Jun 05, 2019 11:40 am

Re: More than one submit in the same network frame

Post by aordonez » Wed Jan 13, 2021 2:01 pm

Excellent!!!! When do you think, it will be released to test it?
alt
Site Admin
Posts: 889
Joined: Tue Apr 25, 2006 9:45 am

Re: More than one submit in the same network frame

Post by alt » Thu Jan 14, 2021 9:33 pm

I have a question. What SMS provider is expecting from your client?
Do you need to wait for SubmitSmResp before sending next SubmitSm?

For batch sending it can happen that SMS provider application receives more than one PDU with the single socket.read(buffer) call, even when sender calls socket.write(pduBuffer) for each PDU.
It means from the receiver point of view there is no difference how sender sends the stream of PDUs.

Can your SMS provider tell us the reason why you need to send only one PDU in a single transmission unit (TCP packet)?
Post Reply