Member variable HttpEndpoint():lastError Professional

Contains the error code of the last socket operation.

Attribute: EXPORTED READONLY
Data type: Numeric (0)
Description

The instance variable :lastError contains the error code of the last socket operation of the HttpEndpoint instance. Typically :lastError is used to identify setup or startup issues of a HttpEndpoint, while the :onError() method of the WebHandler and WebSocketHandler is used to handle send/receive errors.

The error codes returned are from the Windows Sockets sub-system (WSA error code).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.