Telnet Object : Socket Property |
Visual Basic |
---|
Public Property Socket As ULong |
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)