# How to send an OSC message from Pure data to Processing?

**URL:** https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782
**Category:** Libraries
**Created:** [March 23, 2021, 11:52pm UTC](https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782 "2021-03-23T23:52:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![romulovieira-me](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@romulovieira-me](https://discourse.processing.org/u/romulovieira-me)
#### Post date: [March 23, 2021, 11:52pm UTC](https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782/1 "2021-03-23T23:52:57Z")

</div>

Hello guys

I want to send a word (string) to a server in Processing. How do I do this in Pure Data, using the OSC protocol?

This is the code in processing:

Can you give me a tip?  
Thanks

---

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [March 24, 2021, 6:08am UTC](https://discourse.processing.org/t/how-to-send-an-osc-message-from-pure-data-to-processing/28782/2 "2021-03-24T06:08:46Z")

</div>

Hi! Somehow your code is missing so I can only give you high level comments…

For processing you can use oscP5 and the included examples show you basically everything you need. For PD if I remember correctly it slightly depends on the distribution you installed (vanilla or extended). This is a bit out of scope of this forum but try `udpsend` `udpreceive` and see if you can find a help file  
[http://write.flossmanuals.net/pure-data/osc/](http://write.flossmanuals.net/pure-data/osc/)
