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

java - Suppress Jboss version details from HTTP error response -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -