EnquireLink Questions

.NET library for SMPP protocol
Locked
hamidc
Posts: 1
Joined: Wed Apr 20, 2016 8:07 pm

EnquireLink Questions

Post by hamidc » Wed Apr 20, 2016 8:11 pm

Hi,

Can you please answer the question below?

How can I disconnect a remote client after a period of inactivity (by inactivity I mean no EnquireLink and no Message submission) from the InetLab server?

Thank you,

h
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: EnquireLink Questions

Post by alt » Mon Apr 25, 2016 4:08 pm

Hi Hamid,

You can use evPduReceiving event of the SmppServerClient to store time when your server has received latest PDU.
Probably I'll add IdleTimeout property for SmppServerClient to the next version.

Or you can activate EnquiryLink from the server side and client will be disconnected when no response received.

Code: Select all

client.NeedEnquireLink = true;
client.EnquireInterval = 60; //seconds
Locked