OnCancel Event  
 

The OnCancel event is generated when a blocking operation is canceled.

Syntax

Sub object_OnCancel ( [Index As Integer, ] ByVal Handle As Variant )

Remarks

This event is generated when a blocking operation on the socket, such as sending or receiving data, is canceled with the Cancel method. The Handle argument specifies the handle to the active client socket.

See Also

Cancel Method, OnError Event