DotMSN |

# PingAnswerEventArgs.SecondsToWait Property

The number of seconds to wait before sending another PNG, and is reset to 50 every time a command is sent to the server. In environments where idle connections are closed after a short time, you should send a command to the server (even if it's just a PNG) at least this often. Note: DotMSN does not handle this! E.g. if you experience unexpected connection dropping call the Ping() method.

[Visual Basic]
Public Property SecondsToWait As Integer
[C#]
public int SecondsToWait {get; set;}

#### See Also

PingAnswerEventArgs Class | XihSolutions.DotMSN Namespace