# Sandbox.Component.INetworkListener.OnDisconnected

```csharp
void OnDisconnected(Connection channel)
```

Called when someone leaves the server. This will only be called for the host.

### Parameters

- `channel` (`Connection`)

Declared in [Sandbox.Component.INetworkListener](/api/Sandbox.Component.INetworkListener).
Assembly: `Sandbox.Engine`.
