Dispatched when a connection between the client and a SmartFoxServer 2X instance is attempted.

Namespace: Sfs2X.Core
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public static readonly string CONNECTION

Field Value

Type: String

Remarks

This event is fired in response to a call to the Connect(String, Int32) method.

The Params object contains the following parameters:

ParameterDescription
success(bool) The connection result: true if a connection was established, false otherwise.

Examples

See the Connect(String, Int32) example.

See Also