Click or drag to resize

CSocket.Close Method

X#
Disconnects the socket and closes it.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Close() AS LOGIC
Request Example View Source

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
This method disconnects a connection and then closes it. If a socket is not closed in code, it will be automatically closed if the appropriate object instance goes out of scope.
Examples
See the CSocket:Connect() example.
See Also