我想运行tornadio(socket.io for python)与Django一起工作。是否有办法做到在龙卷风这样的事情(运行Django的中间件),或我可以访问tornadio从Django的范围内(在取消对第二个应用程序定义路线直的Django): #!/usr/bin/env python
import os
import tornado.httpserver
import tor
我目前正在编写一个node.js/socket.io应用程序,但问题通常是JavaScript。 我有一个关联数组,为每个客户端连接存储颜色。考虑以下几点: var clientColors = new Array();
//This execute each new connection
socket.on('connection', function(client){
clientCo