Click or drag to resize

wclServerConnectionDisconnectEvent Delegate

The prototype of the OnDisconnect event handler for server connections.

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 7.9.6.0 (7.9.6.0)
Syntax
public delegate void wclServerConnectionDisconnectEvent(
	Object Sender,
	wclServerClientConnection Client,
	int Reason
)

Parameters

Sender  Object
The object that initiated the event.
Client  wclServerClientConnection
The wclServerClientConnection represents a remote connected client.
Reason  Int32
The disconnection code. If the parameter is WCL_E_SUCCESS the connection was closed by the Disconnect call. Otherwise indicates the disconnection reason.
See Also