| ENet Class Library for C# |  | 
        
       
      
        
Peer.DisconnectLater Method
      
     
    
       Gracefully disconnects from the remote computer after all outgoing data has been sent. A disconnect event occurs. 
      
        [Visual Basic]
        Public Sub DisconnectLater( _
   ByVal 
data As 
Integer _
)
 
      
        [C#]
        public 
void DisconnectLater(   
int data);
 
      Parameters
      
        - 
          data
        
- Data to send along with the disconnect packet.
Exceptions
      
      See Also
      
        Peer Class | ENet Namespace