Provides data for the OnDisconnect event.
For a list of all members of this type, see InternetServer.DisconnectEventArgs Members.
System.Object
System.EventArgs
SocketTools.InternetServer.DisconnectEventArgs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
DisconnectEventArgs specifies the socket handle for the current client session.
The OnDisconnect event is generated when the connection is terminated by the client and there is no more data available to be read. The Handle property specifies the socket handle of the client session which has terminated. It is important to note that the client handle is provided for informational purposes only and the application should not attempt to read or write data using this handle from within this event handler.
It is not necessary to call the Disconnect method inside the OnDisconnect event handler because the client session is already in the process of disconnecting from the server.
Namespace: SocketTools
Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)
InternetServer.DisconnectEventArgs Members | SocketTools Namespace | OnDisconnect Event (SocketTools.InternetServer)