Back to product page

devVPN


Provides VPN through dynamic array of devP2P instances.


CreateCreates new devVPN class instance.
DestroyDestroys current devVPN instance.
Properties
EventsReference to event handlers.
MediatorAddressHolds IP address (or hostname) of the mediator.
MediatorPortHolds port of the mediator.
MyNameHolds user defined identity ID of local devVPN peer.
StateReturns current devVPN state.
TagTag for misc usage.
Methods
ErrorTextReturns text representation of the error.
SearchStarts searching for other peers.
SetAdapterSets adapter to be used with devVPN.
StartStarts devVPN, and binds local interfaces.
StateTextReturns text representation of the state.
StopStops routing network packets, and disconnects all peers.
Events
PeerConnectedFires when new peer is successfully connected.
PeerConnectingFires when remote peer wants to connect.
PeerDisconnectedFires when peer is disconnected from devVPN.
StateChangeFires when devVPN changes its state.

Platforms

Windows
Mac OSX
Linux
BSD
iPhone IOS