The OnCancel event is generated when a blocking operation
          is canceled. 
         
        Syntax
        
          Sub object_OnCancel ([Index As
          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. 
         
        See Also
        
          
            Cancel Method, 
            OnError Event,
            OnTimeout Event
           
         
       |