Page 1 of 1
					
				SMPP Server client.WorkerThreads parameter is missing!
				Posted: Mon Apr 26, 2021 11:55 am
				by hishhash2
				Hello,
I have purchased the new Inetlab version and in the process of migration from 1.* to 2.9 now. There are couple of options/parameters that are gone missing.
client.WorkerThreads - Is this replaced and how can I configure this?
Also for SmppServerClient.DeliverAsync() I was required to configure the DeliverSm.Command as CommandSet.DeliverSm if it was for Delivery reports. How is this done in the new version?
Thanks,
HishHash
			 
			
					
				Re: SMPP Server client.WorkerThreads parameter is missing!
				Posted: Mon Apr 26, 2021 5:31 pm
				by alt
				Hi
hishhash2 wrote: Mon Apr 26, 2021 11:55 am
client.WorkerThreads - Is this replaced and how can I configure this?
 
https://docs.inetlab.com/smpp/v2.9/arti ... uning.html
hishhash2 wrote: Mon Apr 26, 2021 11:55 am
Also for SmppServerClient.DeliverAsync() I was required to configure the DeliverSm.Command as CommandSet.DeliverSm if it was for Delivery reports. How is this done in the new version?
 
https://gitlab.com/inetlab/smpp-samples ... mo.cs#L175 
			
					
				Re: SMPP Server client.WorkerThreads parameter is missing!
				Posted: Mon May 03, 2021 10:40 am
				by hishhash2
				These links has helped me complete the migration to 2.9 version of the DLL. I have performed multiple tests in the local development machines and all are working as expected. And when rolled out to the production server, which has more than 60+ consecutive binds that are hitting the servers. I could see that many bind requests are missing and the events are not raised. Wireshark traces was captured and that is how it was realized that many binds are going missing and there are no responses also seen in the TCP trace. When I am testing it locally it usually is only couple of binds and it always seems to work properly. Any thoughts on this? The even handlers are all intialized before start() method (even tried with startasync)
                IPAddress ip;
                IPAddress.TryParse(Settings.ListeningIP, out ip);
                _smscServerSMPP = new Inetlab.SMPP.SmppServer(new System.Net.IPEndPoint(ip, Settings.ListeningPort));
                //INFO: All the required event handlers has to be initiated before starting the SMPP Server
                _smscServerSMPP.evServerStarted += _smscServerSMPP_evServerStarted;
                _smscServerSMPP.evClientConnected += _smscServerSMPP_evClientConnected;
                _smscServerSMPP.evClientBind += _smscServerSMPP_evClientBind;
                _smscServerSMPP.evClientUnBind += _smscServerSMPP_evClientUnBind;
                _smscServerSMPP.evClientDisconnected += _smscServerSMPP_evClientDisconnected;
                _smscServerSMPP.evClientSubmitSm += _smscServerSMPP_evClientSubmitSm;
                _smscServerSMPP.StartAsync();
			 
			
					
				Re: SMPP Server client.WorkerThreads parameter is missing!
				Posted: Mon May 03, 2021 10:48 am
				by alt
				Could you send  the wireshark file, the app log file, and the code of the method _smscServerSMPP_evClientBind on support@  ?
Do you see any errors in the 
library log?
 
			
					
				Re: SMPP Server client.WorkerThreads parameter is missing!
				Posted: Mon May 03, 2021 11:40 am
				by hishhash2
				Email sent with details. I have not enabled the default logging. I have custom logs implemented using NLog