Terminate the connection with a remote host.
Syntax
object.Abort
Parameters
None.
Return Value
A value of zero is returned if the connection was terminated
successfully. Otherwise, a non-zero error code is returned which
indicates the cause of the failure.
Remarks
The Abort method immediately closes the socket, without
waiting for any remaining data to be written out. This method should
only be used when the connection must be closed immediately before
the application terminates.
See Also
Connect Method,
Disconnect Method
|