# How to connect two computers via OSC?

**URL:** <https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635>\
**Category:** Libraries\
**Created:** [November 17, 2018, 7:32pm UTC](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635 "2018-11-17T19:32:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vjjv](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vjjv](https://discourse.processing.org/u/vjjv)\
**Post date:** [November 17, 2018, 7:32pm UTC](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635/1 "2018-11-17T19:32:21Z")

</div>

hello everyone!  
how can i send messages from one computer to another via OSC? can anybody enlightme ? thanks!

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [November 18, 2018, 2:47pm UTC](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635/2 "2018-11-18T14:47:05Z")

</div>

I don’t know if it is the answer you are searching for but check this :

- [http://cmuems.com/2014a/jic/11/18/two-computers-osc-and-an-arduino/](http://cmuems.com/2014a/jic/11/18/two-computers-osc-and-an-arduino/)

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [November 19, 2018, 5:39am UTC](https://discourse.processing.org/t/how-to-connect-two-computers-via-osc/5635/3 "2018-11-19T05:39:47Z")

</div>

You can try checking the examples in the [oscP5 site](http://www.sojamo.de/libraries/oscP5/#examples). You need to have both computers behind the same wifi network for this to work. You need to find the ip address of each computer and use a port that is no taken by your OS or any of the underlying software. Usually I try a number above 12000.

If you run into any trouble, please provide the error info and a minimum version of your code.

Kf
