The OnCancel event is generated when a blocking operation
is canceled.
Syntax
Subobject_OnCancel ([IndexAs
Integer])
Remarks
This event occurs when a blocking operation on the socket,
such as sending or receiving data, is canceled with the Cancel
method. To assist in determining which operation was canceled,
consult the State property.