SocketCore.Handle

From Xojo Documentation

Revision as of 20:47, 8 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.