Page 1 of 1

Getting Exception while setting ReceiveBufferSize or SendBufferSize

Posted: Tue Sep 03, 2019 5:18 pm
by sirdneo
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.

Re: Getting Exception while setting ReceiveBufferSize or SendBufferSize

Posted: Tue Sep 03, 2019 5:53 pm
by alt
Hi sirdneo,

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