I want to let user's of my mini chat to create their rooms dynamically. For now i got const in flask server app:  # Predefined rooms for chat ROOMS = ["Lounge", "news", "games", "coding", "food", "cars&...
In my index.html (HTML/Javascript) I have:  $(document).ready(function(){         namespace = '/test';           var socket = io.connect('http://' + document.domain + ':' + location.port + namespace);          socket.on('c...
I’m having trouble serving static files (image assets, etc.) for a small game I’m working on in Phaser.  I’m using flask-socketio on the server (and socket.io on the client-side) for networking which is why I’m trying to get this working unde...
I have a program where the backend is written in Python, the frontend is written in React/Electron and I use websockets, specifically Socket.IO to communicate between the two (I use Flask-SocketIO in the backend).   I'd like to continuously trans...
I am setting up socketio with flask and am having some errors that are preventing it from running.   File "src/gevent/greenlet.py", line 705, in gevent._greenlet.Greenlet.run        File "/Users/hairy/anaconda2/lib/python2.7/site-packages...
I am trying to get response from javascript after the connection is established between the flask and javascript.The onconnect() function is working properly but onmessage() is not.  I tried broadcast along with the emit method in javascript too but...
var myChart = Highcharts.chart('containerX', {          chart: {           type: 'spline',           animation: Highcharts.svg, // don't animate in old IE           marginRight: 10,           events: {               load:...
I am trying to build a simple Messenger App for fun. But I ran into some problems sending images via Javascript. So far I got this kind of html code, which just takes an image via a form:  <form id="imgform" enctype="multipart/form-dat...
I have followed this tutorial on YouTube: https://www.youtube.com/watch?v=zQDzNNt6xd4 for creating a chat application. I tried to save the messages but it does not work.  I also followed this tutorial for saving the chat history: https://www.youtube....
I am using Flask server. I am capturing face from front-end and sending it to the flask server and server detects the face and returns if there is a face or not.But the problem is only one connection is there between a client and a server. Can you pl...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.