Hacker News new | ask | show | jobs
by oberstet 5036 days ago
WAMP was specifically designed to do both RPC (think AJAX-on-steriods) plus PubSub within one protocol based on WebSocket. socket.io seems to be PubSub only, but transport neutral. WAMP currently is only defined for WebSocket transport, but was designed to work over any reliable, bidirectional, message oriented transport. A future version of WAMP may define new transports, and also new serialization formats (currently JSON only, but WebSocket also provides binary transparency, so there may be value in having a binary WAMP, i.e. based on Bencode).