javascript - Meteor WebSockets (via DDP?) -


i'm working on simple game, needs use web sockets. have read ddp should way go, it's meteor uses.

i can't find documentation regarding tho, except note on meteor.com.

should use sock js instead, or how can use ddp package?

ddp protocol can run on top of sockets. it's not socket library in itself. if need own socket communication, use socket.io or packages on atmosphere. there have been attempts made (e.g., http://arunoda.github.io/meteor-streams/), i'm not sure latest on that. might work you: https://github.com/joncursi/socket-io-client


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -