Page 1 of 1

EnquireLink Questions

Posted: Wed Apr 20, 2016 8:11 pm
by hamidc
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

Re: EnquireLink Questions

Posted: Mon Apr 25, 2016 4:08 pm
by alt
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