# Initialize()

> Initializes the EditorConnection.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Networking.PlayerConnection](/engine/6000.5/script-reference/unityeditor/networking/playerconnection.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void Initialize()
```

### Remarks

Starts listening for Players. If all the Players disconnect, the socket gets cleaned up, so you need to reinitialize the socket if you expect more connections.
