Occurs when an answer is received after sending a ping to the MSN server via the SendPing() method
The event handler receives an argument of type PingAnswerEventArgs containing data related to this event. The following PingAnswerEventArgs property provides information specific to this event.
Property | Description |
---|---|
SecondsToWait | 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. |
NSMessageHandler Class | XihSolutions.DotMSN Namespace