ServerSocket.Error
From Xojo Documentation
Event
ServerSocket.Error(ErrorCode as Integer, e As RuntimeException)
Supported for all project types and targets.
Supported for all project types and targets.
Occurs when the socket has an error.
Notes
Standard operating system error codes or Xojo-specific errors are returned.