I would send a TCP-messages from man Arduino Yun ver1 to my IP-Ninjar CTB. It took a while before I understand ther was a webinterface to set my fixed IP.
I understand that Arduino Yun don´t use same communication as other Arduino ethernet-shields, that is why I don´t use <Ethernet.h> and try to use <YunClient.h> instead...
So, i would send "@SSV,0,0,1,1,101" to 10.101.201.9:1100 and wait 15sec and resend it. But when i check with Wireshark nothings sends out from man Yun on the Network. I had terminate the WIFI and would only use my coppar-cable for this project
What have I missed? Is ther a guide that esplain how to send a easy text on TCP for Arduino Yun. Found couple of code, but nothing works for me.
I had intended to do this with a Raspberry Pi, but these are unobtainable. So that's why I'm trying the Arduino Yun instead. In the end I should try to build a bridge between Open Sound Control and IDK IP-Ninjar.
Thanks b707... I jump between a lots of programinglanguage and probably figure it out later when I see it start sending my packages on my network.
Now I tried out more...
if(client.connect(SDVOE_IP, SDVoE_PORT)) {Serial.println("Connected to server...")}
It says I'am connected to server, but it dosen´t matter if I are connected to my switch or not... I still cant figure it out how to send TCP-messages out on my network.
Have also try <BridgeClient.h> and go back to <Ethernet.h>.. and retry with <YunClient.h>. Still nothing on my network.
If it´s says I'am connected to my server, with or whitout my networkcable I probably got something more fault and miss something in my code, to get the right connection via my Arduino-code and Linux-part to my CTB-server.
I try to change to your code, but i still don´t see my TCP-package with Wireshark on the network. No other error in my code... and no more ideas.