CSocket.DisConnect Method | |
Shut down the current socket connection.
This disables sending/receiving on the socket, but does NOT close the socket.
Note that this function does NOT close the connection like it did in Visual Objects 2.5!
To close a socket you need to call cSocket:Close()!
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD DisConnect() AS LOGIC
public virtual bool DisConnect()
Request Example
View SourceReturn Value
Type:
Logic
TRUE if successful; otherwise, FALSE.
Remarks
Disconnect() can be used to close the connection made for the CSocket object instance. If not specified, the connection will automatically be closed if the appropriate object instance goes out of scope.
Examples
See the CSocket:Connect() example.
See Also