Back to product page

PeerDisconnected event


Fires when peer is disconnected from devVPN.

Remarks

This event fires after connection with specific peer was broken. Peer can be disconnected by your intention, or due to error that has occurred. If error occurred, error argument will contain description of the error.

To use this event, you should implement function by yourself in the code (based on function declaration), and set devVPN.Events.PeerDisconnected structure member to point to your function.

Platforms

Windows
Mac OSX
Linux
BSD
iPhone IOS