Getting Exception while setting ReceiveBufferSize or SendBufferSize
Posted: Tue Sep 03, 2019 5:18 pm
I am Getting Exception while I am trying to set ReceiveBufferSize or SendBufferSize
Here is sample code.
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.
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.