socket.io with express

后端 未结 4 936
借酒劲吻你
借酒劲吻你 2021-02-01 07:44

i have a project and I\'m using socket.io with express ,

so what i need (i tried) is broadcasting a message but from an express action. is this possible i don\'t know ho

4条回答
  •  我在风中等你
    2021-02-01 08:04

    I Found a nice example how to make what i need but with faye it's here http://nodecasts.org/.

    I don't know the difference between Juggernaut ,Faye and direct Socket.io but Faye is good

    for my case .And i think both of them use Socket.io internally.

提交回复
热议问题