Getting Exception while setting ReceiveBufferSize or SendBufferSize

Post Reply
sirdneo
Posts: 1
Joined: Tue Sep 03, 2019 5:14 pm

Getting Exception while setting ReceiveBufferSize or SendBufferSize

Post by sirdneo » Tue Sep 03, 2019 5:18 pm

I am Getting Exception while I am trying to set ReceiveBufferSize or SendBufferSize

Here is sample code.

Code: Select all

  _client = new SmppClient
            {
                ResponseTimeout = TimeSpan.FromSeconds(60),
                EnquireLinkInterval = TimeSpan.FromSeconds(20),
                SendBufferSize = 10240
            };
            

Here is exception which I am getting.

A first chance exception of type 'System.NullReferenceException' occurred in Inetlab.SMPP.dll

Additional information: Object reference not set to an instance of an object.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Getting Exception while setting ReceiveBufferSize or SendBufferSize

Post by alt » Tue Sep 03, 2019 5:53 pm

Hi sirdneo,

Thank you for pointing this bug to us. It will be fixed in the next version.
Post Reply