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 » Thu May 25, 2023 5:22 am

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 23775 times
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Why multiple submit_sm-resp in one packet

Post by alt » Thu May 25, 2023 9:41 am

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 » Thu May 25, 2023 10:43 am

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: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Why multiple submit_sm-resp in one packet

Post by alt » Thu May 25, 2023 10:56 am

for the SmppServer you can change this option with code

Code: Select all

_server.ConnectionOptions.SinglePDUinTCPPacket = true;
Post Reply