How to communicating between nodejs and OF

#1

I still wonder is there any library for this, because i’m using website and then i need a way to communicating to OF
p.s: i’m using ml4a too
Please help me, thank you so much guys.

#2

Hello,
have a look at websockets.

or maybe even socket.io

Thomas

#3

i’ve tried to install ofxSocketIO but it didn’t work…
“undefined reference to sio::client::socket, undefined reference tosio::client::connect, …”
Did i miss somethings?
thank you

#4

i havent worked with ofxSocketIO, but the author says it is still under active development. I successfully compiled the provided example (osx, current master, make). No further steps were required.

Another option could be mqtt: https://github.com/256dpi/ofxMQTT

#5

OSC https://github.com/MylesBorins/node-osc