Back to product page

Errors enumeration


List of errors that can be returned by devP2P.

Remarks

Possible values for Errors:

ConstantValueDescription
ErrorNone0No error.
ErrorStopped-1devP2P is not started.
ErrorDisconnected-2Disconnected.
ErrorTimeout-3Timeout error.
ErrorNameNotSet-4Name not set.
ErrorCannotBind-5Cannot bind socket.
ErrorCancelled-6Cancelled.
ErrorAborted-7Aborted.
ErrorDisconnectedByRemote-8Disconnected by remote.
ErrorConnectionRefused-9Connection refused.
ErrorConnectionBroken-10Connection broken.
ErrorChannelInvalid-11Channel invalid.
ErrorChannelFull-12Channel full.
ErrorChannelBusy-13Channel busy.
ErrorCannotOpenFile-14Cannot open file.
ErrorCannotReadFile-15Cannot read from file.
ErrorCannotWritefile-16Cannot write to file.
ErrorForwardStarted-17Forward channel already started.
ErrorForwardInvalid-18Forward channel invalid.
ErrorCannotOpenAdapter-19Cannot open adapter.
ErrorLicenseInvalid-20License invalid.
ErrorNameInvalid-21Name invalid.
ErrorAdapterInvalid-22Adapter invalid.
ErrorAdapterInvalidIP-23Adapter has invalid IP.
ErrorAdapterExistingIP-24Adapter uses existing IP.

Platforms

Windows
Mac OSX
Linux
BSD