Method Close
Close(NetworkDriver)
Disconnects a connection and marks it for deletion. The connection will be removed on the next frame. Same as Disconnect<T>.
Declaration
public int Close(NetworkDriver driver)
Parameters
Type | Name | Description |
---|---|---|
NetworkDriver | driver | Driver to which the connection belongs. |
Returns
Type | Description |
---|---|
int | An Error.StatusCode value (0 on success, -1 otherwise). |