EasyUDPSocket.Error

From Xojo Documentation

Event


EasyUDPSocket.Error(Code as Integer)

Supported for all project types and targets.

An error occurred.

This event replaces the TCPSocket error event. It functions the same, but instead this event passes the error code so you don’t have to check the LastErrorCode property. The last error code is passed a parameter.

Example

The following example is in the Error event handler. You can instead check the Code parameter.

MessageBox(EasyUDPSocket1.LastErrorCode.ToString)