OnTimeout Event  

The client has exceeded the maximum allowed idle time.


Sub object_OnTimeout ( [Index As Integer,] ByVal ClientId As Variant, ByVal Elapsed As Variant )


An integer value which uniquely identifies the client session.
An integer value that specifies the number of seconds that have elapsed.


The OnTimeout event occurs after the client has has exceeded the maximum allowed idle time, and immediately before the client is disconnected from the server. This event will never occur during a file transfer or directory listing.

To change the default idle timeout period for all clients, set the IdleTime property prior to starting the server. To set the idle timeout period for a specific client, set the ClientIdle property in an OnConnect event handler.

See Also

ClientIdle Property, IdleTime Property, OnConnect Event