WebSocket-like abstraction that enables real-time communication between a browser and a server.
Questions tagged [gevent-socketio]
88 questions
0
votes
0 answers
How gevent socketio writing to client is a blocking call
I know reading from client is blocking call as we have to wait for the input from the user.
But, how writing to the client is a blocking call?
And also if i send two client messages, lets say msg1 and msg2 using gevent socketio put_client_msg…

user160691
- 3
- 2
0
votes
1 answer
objective-c SocketIO client cannot connect to gevent-socketIO server
I am using object-c socketio(https://github.com/pkyeck/socket.IO-objc) to connect to my gevent-socketIO server, which works fine with my webpage.
CLIENT
[self.socketIO connectToHost:SOCKET_URL onPort:SOCKET_PORT];
SERVER
def socketio(request):
…

noooooooob
- 1,872
- 3
- 21
- 27
0
votes
1 answer
Interacting my lua app (LuaSocket) with my socket.io chat example server
I am writing an app for Corona SDK (Using LuaSocket) to be able to subscribe and post messages to the example chat server that runs in socket.io (using gevent-websocket 0.9).
I have checked that chat.js on the server interacts with ther server like…

Matheus Frik
- 835
- 7
- 10
0
votes
1 answer
Is there any way to run gevent-socketio 0.3.5-rc2 with gunicorn 18.0 without downgrading
I'm running:
gevent==0.13.8
gevent-socketio==0.3.5-rc2
gunicorn==18.0
And have run into the following error:
2013-11-05 06:40:00 [5671] [ERROR] Exception in worker process:
Traceback (most recent call last):
File…

Bueller
- 98
- 7
0
votes
1 answer
How to push notification from server (django) to client (socketio)?
I want to emit message from server to client.
I have look at this but cannot use because I cannot create a namespace instance.
How to emit SocketIO event on the serverside
My use case is:
I have a database of price of product. A lot of users are…

Kristine T
- 101
- 8
0
votes
1 answer
socket.io and long operations on client
I use gevent-socketio on server and socket.io.js on client. After connection is established, client receives data that should be rendered. Rendering can take much time (up to 10 - 15 sec.) When it's done, connection aborted. I will tune performance,…

Marboni
- 2,399
- 3
- 25
- 42
0
votes
0 answers
gevent-socketio: “cannot import name core”
I have a Django project using gevent-socketio that runs fine with the manage.py runserver_socketio command in development mode. But I try to deploy it now on a web server (Apache) and I get this error:
Traceback:
File…

Vjeetje
- 5,314
- 5
- 35
- 57
0
votes
1 answer
Multi-player game with Django, what to use for the communication between server and client?
I am currently developing a mutil-player game with Django. You can consider the game as a chat room app. Each user can create room of maximum 8 players, wait for other users to join in and then start to play.
For this purpose, I googled around and…

sliter
- 1,063
- 1
- 17
- 34
0
votes
1 answer
Private messages with gevent-socketio
I've been trying to use the python gevent-socketio library to try to send private messages by socket id, but haven't had any luck. I figured out one can send a message to the socket using the namespace via:
pkt =…

user784756
- 2,363
- 4
- 28
- 44
0
votes
0 answers
Making apache and gevent(django-socketio) work together
I'm working on a ubuntu 12.04 with python, django and recently django-socketio (https://github.com/stephenmcd/django-socketio).
My problem is when I send something to the server through socket and wait for it to send back, when it doesn't.
the…

Patrick Bassut
- 3,310
- 5
- 31
- 54
0
votes
2 answers
socketio in python
Kindly help me in configuring the socketio in my django module. Am using windows7 OS
File wsgi.py
Sample Code - from socketio import SocketIOServer
Error - Unresolved import:SocketIOServer
Am new to python and Django Frameworks.!

nash
- 1
0
votes
0 answers
Redis and django-socketio
I built a chat with django-socketio and I'm trying to use redis with it.
I have a very simple event.py:
@events.on_message(channel='^channel-')
def messages(request, socket, context, message):
…

Marcolac
- 901
- 4
- 14
- 27
-1
votes
1 answer
Python gevent-socketio server error on client connection
I've created a wsgi server using the following code.
But when a client connects to it I am getting some errors and the connection fails.
code:
#! /usr/bin/env python
import gevent.monkey
gevent.monkey.patch_all()
from socketio.server import…

user160691
- 3
- 2