SocketCore.Handle

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aSocketCore.Handle

New in 2005r1

Supported for all project types and targets.

This is the socket’s internal descriptor and it can be used with Declare statements.

Notes

  • On Windows, Handle is a Socket, suitable for use in Declares on Windows.
  • On macOS and Linux, Handle is a UNIX socket descriptor.

The descriptor is platform-specific. If Handle is less than zero, the descriptor is not available.