# Editor.EditorUtility.Network.Sockets

```csharp
static NetworkSocket[] Sockets { get; set; }
```

Return all of the sockets on this connection. 
If you're the host, it should return all active sockets.
If you're the client, it should return empty - unless you're in a p2p session (lobby).
Returns empty if you're not connected

Declared in [Editor.EditorUtility.Network](/api/Editor.EditorUtility.Network).
Assembly: `Sandbox.Tools`.
