I am a beginner and would like to understand how to realize this small application, using node.js, socket.io and QT.
I made a server-side chat, following the tutorial on socket.io/get-started/chat/. Now I would like to create a desktop client (QT and C ++) that exploits the same server nodejs. How can I get this? [sketch]
I am sorry for my bad English. Thank you all! :)
SOLUTION
For this problem do not use socket.io, but normal WebSockets.
wp for node.js
QWebSockets for Qt
Related
I am building this simple app that uses React and Node, for learning purposes. I want to use websockets for the game and for the chat.
websockets is new to me, and I am wondering if it is recommended to create two different instances for each purpose (game/chat), or should I use the same?
If you are building a simple app with react and node i would try the iosocket and there is tons of videos and similiar project on github where you can check it out to get a glimpse on how it works. Here is even a link to iosocket: https://socket.io/
You can read the documentation and try to implement these bits in your app.
I am about to start a client project and Id love to do it in Livecode but the server uses websockets.
Is there a websocket client solution yet for Livecode? My initial googling seems to have turned nothing up.
I actually wrote pure livecode implementation for myself. At some point Il lclean it up and release it.
I need a good web hosting where I can use node.js.
I have alot experience about cpanel and basic webhotel but I dont know how to use/install node.js.
I'm mainly using html, php, javascript and mysql but I have some features that need node.js.
Can you help me if you know good sites or you know how to use node.js in cpanel
Here is good post: http://codecondo.com/hosting-platforms-for-node-js/
These web sites have (pre)installed note.js, so no need aby installation.
I have created a chat application using sails.js (node.js) and socket.IO.
I need to implement audio chat and file transfers along with it.
Could anyone help me in getting basic tutorial links for integrating WebRTC with socket.IO?
Thanks in advance.
If I were you, I would use a WebRTC library providing both the client and the server side. Check EasyRTC, SimpleWebRTC, PeerJS or others. Most libraries are implemented in Javascript and run in Node.js.
You will find tutorials in their respective websites.
I personally use PeerJS, the code and documentation are both very good, and it fully supports data channels (useful for file transfer). The only thing is that there are only 2 founders, and the community seems quite small.
I am also planning to make your kind of app on nodejs. During my research I found that WEBRTC support for mobile browsers is limited. In todays world whenever we are building a Web app we consider that a major portion of our users are going to use it on mobile phone. WebRtc is supported on android browsers like chrome, Firefox and opera. But on iPhone it doesn't support safari nor windows phone browsers.
You should take a look at Wowza streaming cloud at https://www.wowza.com/docs/wowza-streaming-cloud-free-trial
I am interested in develop a rt module for my website with socketstream + node.js. I am only interested in do the server side in socketstream, not the client side. How can I access the socketstream from a normal php/html app, wich js i have to include ? I am mainly interested in rpc, pub/sub and authentication/session.
I would not recommend doing this, as it is unorthodox.
That said, I do recall that someone wanted to use an early version of SocketStream from within their application, which was built on the .net platform. It turned out that they got it to work by embedding the SocketStream app's web page inside of an iframe.
Check out to this framework:
http://www.socketstream.org/
Comes with a lot of examples and it's easy to use.