How to connect C# with node.js via socket.io -
i try connect c sharp application node.js using socketioclientdotnet doesn't work take @ codes
using quobject.socketioclientdotnet.client; var socket = io.socket("http://localhost:7000"); socket.on(socket.event_connect, () => { socket.emit("hi"); }); socket.on("hi", (data) => { console.writeline(data); socket.disconnect(); }); console.readline()
and error here
e:\xamp\htdocs\connexion>node test_server_2.js info - socket.io started info - unhandled socket.io url
i found! should upgrade socket.io 0.9.16 1.3.5 , works! all
Comments
Post a Comment