
PRO
GBot
USA
Asked
— Edited

Hello All,
I have successfully set up a TCP server in order to communicate with a Processing client running on the same computer as ARC. I am able to send data (variables) from Processing to ARC by simply using a myClient.send(blahblah) command. However, I cannot figure out how to send information to the Processing client from ARC. I have tried sendUDP("127.0.0.1", 9000, "hello world") etc, with no luck.
By the way, when I use myClient.readString() and print it to the terminal in Processing, I see:
EZ-Builder v2017.06.23.00 on TTY0 >
So I know that ARC is able to send information to this program, I just don't know how.
Am I missing something?
Thanks!
Thanks, got it sorted out.
My issue was that when the client asked for data via print(variable) etc, I needed to strip the trailing carriage return before it became usable.
Excellent!
Ah yeah! Good call.
If you'd like, there is a plugin system as well. You can create a quick plugin that can communicate with your Processing project. Let me know how I can help