Click or drag to resize

WebSocketConnectAsync Method

Establishes a connection asynchronously.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void ConnectAsync()
Exceptions
ExceptionCondition
InvalidOperationException

This instance is not a client.

-or-

The close process is in progress.

-or-

A series of reconnecting has failed.

Remarks

This method does not wait for the connect process to be complete.

This method does nothing if the connection has already been established.

See Also