Method Connect
Connect(NetworkDriver)
Connect to the relay server without specifying an endpoint.
Declaration
public static NetworkConnection Connect(this NetworkDriver driver)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkDriver | driver | Driver to use for the connection. |
Returns
| Type | Description |
|---|---|
| NetworkConnection | The new connection (or default if connection failed). |