Why multiple submit_sm-resp in one packet

Post Reply
ritik
Posts: 5
Joined: Thu Nov 17, 2022 6:22 am

Why multiple submit_sm-resp in one packet

Post by ritik »

Hello,

I need a help, Whenever i have received submit_sm in bulk then why multiple submit_sm-resp going in one packet. it's creating issue to handle from connected node.

Please help me about this thing, whats going wrong.

Thanks.
Attachments
Untitled.png
Untitled.png (22.56 KiB) Viewed 107226 times
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: Why multiple submit_sm-resp in one packet

Post by alt »

Hello ritik,

You can disable this feature with following code:

Code: Select all

bool conected = await _client.ConnectAsync(new SmppConnectionOptions
            {
                RemoteEndPoint = remoteEndPoint,
                SinglePDUinTCPPacket = true
            });
ritik
Posts: 5
Joined: Thu Nov 17, 2022 6:22 am

Re: Why multiple submit_sm-resp in one packet

Post by ritik »

Hello alt,

Actually I have open a non-ssl/ssl server on particular IP and Port, Clients will connect to us.
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: Why multiple submit_sm-resp in one packet

Post by alt »

for the SmppServer you can change this option with code

Code: Select all

_server.ConnectionOptions.SinglePDUinTCPPacket = true;
Post Reply