SetLatencyExpiry Method

The SetLatencyExpiry method sets a period of time in msecs after which OnLatencyExpiry event will occur, if no data was received during this period. It helps to verify whether device is still connected.

void SetLatencyExpiry (
  LONG MSecs  
);

Parameters

  MSecs    
           Period of time after which OnLatencyExpiry event will occur, if no data was received during this period. If set to 0, OnLatencyExpiry event will not occur.


See also

OnLatencyExpiry event