Click or drag to resize

SFSEventCONNECTION Field

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

Namespace:  Sfs2X.Core
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
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