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
EnquireLink Questions
Re: EnquireLink Questions
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.
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