ASP.NET client with node.js / socket.io server -
ASP.NET client with node.js / socket.io server -
is possible communicate asp.net application node.js server?
to start with, i'd able see connections. assumed work:
server (node.js):
var io = require('socket.io').listen(1234); io.sockets.on('connection', function (socket) { console.log('connected'); socket.on('disconnect', function () { console.log('disconnected'); }); });
client (asp.net):
var tcpclient = new system.net.sockets.tcpclient(); tcpclient.connect("localhost", 1234); system.threading.thread.sleep(1000); tcpclient.close();
...but i'm not having much joy. client doesn't complain @ all, never see 'connected' or 'disconnected' printed in node.js.
has got working?
asp.net node.js socket.io
Comments
Post a Comment