# Connection

There are two ways of establishing a connection with OWO:&#x20;

* Manual connection: The user must enter the IP that the OWO App provides when pressing the "Play" button. To establish this connection you have to use the “Connect” function on the “OWO” class.

<pre class="language-csharp"><code class="lang-csharp"><strong>//The ip is provided to the user by the OWO App
</strong>OWO.Connect(ip);
</code></pre>

* Automatic IP connection: Through the “AutoConnect” function, the “OWO'' class will begin to search for the OWO App through the local network and it will establish a connection. This may not work if there is a VPN modifier app open or if the network does not allow this type of connection (broadcast).

```csharp
OWO.AutoConnect();
```

* Disconnection: Call the “Disconnect” method of the OWO class to stop feeling sensations.

```csharp
OWO.Disconnect();
```

* IP Scanning: By calling the StartScan method, the API will start searching for nearby OWO Apps and store the results in the DiscoveredApps property of the OWO class.

```
OWO.StartScan();
```

* Multi Connect: It is possible to connect to multiple OWO Apps at the same time:

```
OWO.Connect(ip1, ip2, ip3...);

//or, if you have scanned previously:
OWO.Connect(OWO.DiscoveredApps);
```
