gintas.io

UNET LLAPI error messages

October 05, 2017

Error messages are not documented properly. But I found this on one of unity answers some time ago and kept is a note. Whenever you get an argument out error. The error will a value equal to one of the below:

Ok = 0 // Everything good so far.
WrongHost = 1 // Host doesn't exist.
WrongConnection = 2 // Connection doesn't exist.
WrongChannel = 3 // Channel doesn't exist.
NoResources = 4 // No internal resources ro acomplish request.
BadMessage = 5 // Obsolete.
Timeout = 6 // Timeout happened.
MessageToLong = 7 // Message is too long to fit buffers
WrongOperation = 8 // Operation is not supported.
VersionMismatch = 9 // Different version of protocol on ends of connection.
CRCMismatch = 10 // Connections have different agreement about network settings
DNSFailure = 11 // The address supplied to connect to was invalid or could not be resolved.

Gintas Skersys

Blog by Gintas Skersys
I store my notes and project videos.