Nc (netstat command) to send an osc message

hello,

Is it possible to use the nc command (Comment utiliser les commandes Netcat : exemples et aide-mémoire) to send an OSC message to Osc ?

echo -n "/start" | nc -4u -w1 192.168.0.225 9999

But i got this error in the debug console.

(ERROR, UDP) A malformed type tag string was found while reading the arguments of an OSC message. String was:

edit : i get this example from Millumin so i supposed Millumin do the job to transform this string into a real udp message ?

A raw upd packet is not an osc message, you need to format the packet according to the spec, I don't think that's a job for netcat, there are dedicated command-line tools available to do it.

some references ?

On linux pyliblo-utils (provides send_osc and dump_osc commands) come to mind, for the rest internet has a better memory than mine.