ConnectionTerminated
Description
Event that notifies of a connection terminated.
Remarks
After this event has fired, the object corresponding to the SocketHandle key parameter will no longer be valid. Use this event to query the information about the object if needed before it is released. This event should be used to destroy any application resources that are specific to the connection identified by the SocketHandle parameter.
Note that you must use the RegisterMsgSinkConnTerminated function to register your ConnectionTerminated function prototype in order to receive this event.
Prototype
VOID CSockQ::OnConnectionTerminated(SOCKET SocketHandle)
Last updated