Back to product page

States enumeration


List of possible devP2P states.

Remarks

Possible values for Protocols:

ConstantValueDescription
StateStopped0Stopped. Does not accept connections.
StateStarted1Started and idle listening. Accepts other devP2P connections.
StateSearching2Searching for remote devP2P peer.
StateSearchDone3Finished searching remote peer.
StateLinking4Attempting to link with remote devP2P peer.
StateConnected5Connected and linked with remote devP2P peer.
StateDisconnecting6Disconnecting from remote devP2P peer.
StateDisconnected7Disconnected from remote peer.

Platforms

Windows
Mac OSX
Linux
BSD