Dart Telnet Control
Socket Property
Description
System identifier assigned to the TCP connection.
Property type
Read-write property
Syntax
Visual Basic
Public Property Socket As ULong
Remarks

This property is only available at run time.

A value of 1 indicates that no system resource is currently allocated. It is possible, but not recommended, to transfer Socket values between controls. Refer to the Accept method for more information.

CAUTION  The Timeout property must be set to 0. This will ensure that all event notification operates without interference from individual connections that may capture the thread under blocking operation.

Error Codes
The Socket property may generate the following error code (refer to the ErrorConstants topic for a complete list of error codes):

ptInvalidParam1 (assigned value is not a valid system socket identifier)

See Also

Telnet Object  | Telnet Members


Documentation Version 1.9.3.0
© 2020 Dart Communications. All Rights Reserved.
Send comments on this topic