Provides data for the OnConnect event.
For a list of all members of this type, see InternetServer.ConnectEventArgs Members.
System.Object
System.EventArgs
SocketTools.InternetServer.ConnectEventArgs
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
ConnectEventArgs specifies the socket handle for the current client session.
The OnConnect event occurs when the client connection to the server has completed. The Handle property specifies the handle to the client socket that was allocated for the session. This handle can be used with methods such as Read and Write to exchange information with the client.
The ClientAddress property can be used to determine the IP address of the client which established the connection. To terminate the client connection, use the Disconnect method.
Namespace: SocketTools
Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)
InternetServer.ConnectEventArgs Members | SocketTools Namespace | OnConnect Event (SocketTools.InternetServer)