NeedEnquireLink on server

.NET library for SMPP protocol
Locked
juancri
Posts: 3
Joined: Wed Mar 16, 2011 1:22 am

NeedEnquireLink on server

Post by juancri »

Hi:

I created a small server using this code:

Code: Select all

var server = new SmppServer ();
server.evClientConnected += ((sender, client) =>
{
	client.EnquireInterval = 30;
	client.NeedEnquireLink = true;
});
server.StartAsync (9876);
The problem is that the enquire link command is not sent. This works if configured on the client but not on the server. Is there any way to fix this?

Thank you!
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: NeedEnquireLink on server

Post by alt »

Thank you for pointing this to me.
Really Enquire link was not initialized on the server when client had been connected.
Please try version 1.0.10.2
Locked