Difference between revisions of "SocketCore.Handle"

From Xojo Documentation

 
Line 11: Line 11:
 
{{Description
 
{{Description
 
|text = This is the socket’s internal descriptor and it can be used with [[Declare]] statements. }}
 
|text = 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 [[Declare|Declares]] on Windows.
 
* On Windows, Handle is a Socket, suitable for use in [[Declare|Declares]] on Windows.

Latest revision as of 20:47, 8 August 2017

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.