soixantecircuits / ofxsocketio Goto Github PK
View Code? Open in Web Editor NEWofx addons that wraps socket.io-client-cpp for OF
License: MIT License
ofx addons that wraps socket.io-client-cpp for OF
License: MIT License
I've set up a Socket.IO server which relay's messages from the client (mobile device) to an OF application. The communication works initially when the server is started, but after a time period (say, 12 hours) the communication fails from the server to the OF side. The client-server communication continues to report console.log statements from the server side but the OF app doesn't receive an event.
A paired down version of the code is available here:
https://gist.github.com/eightlines/a5f57f7a61731a913cb3c0ff33081085
I'm emitting a SocketIO event from a Node server, and the data I'm sending is a nested JSON. It looks like it the ofxSocketIOData can return strings, bool, ints, etc, but can it parse nested objects, or arrays?
Hi!
I needed to get this to work with a https:// server.
I have compiled the socket.io-client-cpp with TLS (OpenSSH) on MacOSX support and replaced the .h and .a files but I got no success.
I still get:
[connect] Successful connection
[error] Server handshake response error: websocketpp.processor:20 (Invalid HTTP status.)
I've checked all the forks and no luck...
On the README.md you say you didn't compile TLS because of certificate issues? Could you elaborate on that, please? Maybe it helps me solve the problem and I can contribute.
Cheers and thanks a lot for all the wonderful work.
i'm using Ubuntu 16.04 ... but when I tried to compile it cause a lot of problems..
undefined reference to sio::client::socket undefined reference tosio::client::connect, ..
please help me, thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.