CInternetServer Event Constants  
 
Value Description
INET_EVENT_ACCEPT The client is attempting to establish a connection to the server. For more information, refer to the OnAccept event handler.
INET_EVENT_CONNECT The client has established a connection with the server. For more information, refer to the OnConnect event handler.
INET_EVENT_DISCONNECT The client has disconnected from the server and the client session is terminating. For more information, refer to the OnDisconnect event handler.
INET_EVENT_READ The client has sent data to the server. For more information, refer to the OnRead event handler.
INET_EVENT_WRITE The client is ready to receive data from the server. For more information, refer to the OnWrite event handler.
INET_EVENT_TIMEOUT The client has not sent any data within the timeout period configured for the server. For more information, refer to the OnTimeout event handler.

See Also