ENet Xojo plugin

ENetServer.LastError Property

Returns last error code that happened.

LastError as Integer {Read}

Remarks

0 = No error.

When constructing class instance:
-10 = Failed to initialize service.

When connecting:
-1 = Internal service not initialized.
-2 = Failed to listen.

When disconnecting:
-1 = Internal service not initialized.

When broadcasting:
-1 = Internal service not initialized or packet was nil.

When polling:
-1 = Internal service not initialized.

See Also

ENetServer Class