Page 1 of 1

Why multiple submit_sm-resp in one packet

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

Re: Why multiple submit_sm-resp in one packet

Posted: Thu May 25, 2023 9:41 am
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
            });

Re: Why multiple submit_sm-resp in one packet

Posted: Thu May 25, 2023 10:43 am
by ritik
Hello alt,

Actually I have open a non-ssl/ssl server on particular IP and Port, Clients will connect to us.

Re: Why multiple submit_sm-resp in one packet

Posted: Thu May 25, 2023 10:56 am
by alt
for the SmppServer you can change this option with code

Code: Select all

_server.ConnectionOptions.SinglePDUinTCPPacket = true;