| ISessionEventListenerOnConnecting Method |
Fires when starting to try to connect to a server.
Namespace: Six.Sixp.ClientAssembly: Six.Sixp.Client (in Six.Sixp.Client.dll) Version: 1.0.4874.0 (1.0.4874.0)
Syntaxvoid OnConnecting(
ISession session,
SixpServerSettings server,
bool reconnecting
)
Parameters
- session
- Type: Six.Sixp.ClientISession
The session that initiated the event - server
- Type: Six.Sixp.ClientSixpServerSettings
Hold info about the server being connected - reconnecting
- Type: SystemBoolean
Indicates if the session is reconnecting or if it's the first connect attempt
See Also