TCP Interface

Hello,

I’m trying to implement a TCP client interface to control external media.
I was able to connect to it and send commands, but I was wondering how could I set all the possible commands and have multiple bangs to send them.
I don’t know how to create multi inputs.
Any ideas?!

Tkx in advance

ex:

| bang 01 | -> | option 01 | ->- -|

| bang 02 | -> | option 02 | ->- -± ->- | TCP CLIENT SEND

| bang 03 | -> | option 03 | ->- -|

multi inputs on Tcp?
the common way i know is to send different strings for the bangs.
Use 3 bangs -> multiflipflop(animation){3inputs over inspector} -> switch(string input) {3 inputs for the strings to send} connected to tcp’s string pin and an OR (boolean) connected to the the bangs and send pin

here is my favorite way of doing something like this.

multicommand_tcp.v4p (4.3 kB)

Very nice solution!

I don’t have my final code at home, but tomorrow I will share it.
I haven’t yet implemented your solution but I will do it in this one and future projects.

Thank you very much for your share

Very nice solution!

I don’t have my final code at home, but tomorrow I will share it.
I haven’t yet implemented your solution but I will do it in this one and future projects.

Thank you very much for your share