TCP/UDP sketch example

Hi everybody,
I just started recently to work with TD and I want to experiment with the soft.
For now, I need to send UDP or TCP messages to another software on my localhost. I’ve made a lot of research about UDPout DAT or TCP/IP Dat objects but it’s more difficult than I first thought.

For example, the UDPout object is waiting for a command to send the message, but there is no input directy into the object.
I’ve read somewhere that you are suppose to use a Text object with a command like this one:
send(object, message)

but I can’t find any other informations about the exact syntax of the command or the way to trigger to message itself…

Thank you in advance for your help.

Any idea of how to do that ?
I use the object link with a text object, it worked, but this is format as a python message to be understand by touch. It’s not possible for me to communicate with another software…
Help please =D

Hi tlahitte ,

In the top menu of TD, click Help, and select Operator Snippets.
In the new TD environment that opens, in the left column, you can select examples for most of the operators.

For your case see the TCP IP snippet and the UDP Out snippet for several examples.