socket.io
Socket.IO Scoping Issue (Node.JS)
I am working on a node.js project that I am leveraging Socket.IO in, and am having an issue getting my head around a scoping issue. Here is what I am trying to do:[详细]
2023-03-27 22:59 分类:问答Advantage/disadvantage of using socketio heartbeats
Socket.io allows you to use heartbeats to \"check the health of Socket.IO connections.\" What exactly are heartbeats and why sho开发者_Go百科uld or shouldn\'t I use them?A heartbeat is a small message[详细]
2023-03-27 22:04 分类:问答Encrypt chats stored in Mongo from a Node/Websockets Chat App
I have a simple chat app running internally in my office using Node/Socket.io/MongoDB. Now, I would like to figure out the most effective way to encrypt the chats in the MongoDB for security/privacy[详细]
2023-03-27 21:49 分类:问答socket.io assign userId to sessionId
Im trying to convert client.sessionId to the value of my variable Response.UserID and all I get is NaN in my response. I have tried several things like toString but still get NaN or [Global object] Ha[详细]
2023-03-27 16:17 分类:问答Unable to get connect's session id from cookie using websockts with socket.io
In the configuration of a socket.io server I have the following code which grabs the session id from the cookie in the header and I want to verify that session corresponds with a logged in user (I\'m[详细]
2023-03-27 13:17 分类:问答Define transport types on the client side
I need to use jsonp-polling for IE, and xhr-polling for Firefox, so I tried to define types of transports on the client side like this:[详细]
2023-03-27 08:45 分类:问答How to create a custom object using node.js
I have a java-based server that allows client applications to connect via other programming languages (java, unity, obj-c). I would like to know how to add javascript to this list using node.js and so[详细]
2023-03-27 06:45 分类:问答Looking for examples and projects with socket.io [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-03-26 13:55 分类:问答how to get session id of socket.io client in Client
I want to get session id of client in my socket.io client. here is my so开发者_开发知识库cket.io client :[详细]
2023-03-26 08:57 分类:问答socket.emit in a simple TCP Server written in NodeJS?
[as you\'ll see, I d开发者_如何学运维on\'t understand the basic concepts of a TCP server and client very well and probably socket.emit is not even possible, but I\'d like to know the best alternative[详细]
2023-03-26 05:23 分类:问答