ENet Xojo plugin

ENetClient.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 connect
-3 = Connection was dropped.
-5 = More channels than set channel limit requested

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

When polling:
-1 = Internal service not initialized.

See Also

ENetClient Class