113
rated 0 times
[
116]
[
3]
/ answers: 1 / hits: 20954
/ 11 Years ago, tue, april 2, 2013, 12:00:00
I am new at Node, I have this simple Node.js server works on windows
Server Code
var ws = require(websocket-server);
var server = ws.createServer();
server.addListener(connection, function(client){
console.log(new connection);
client.send(aaaaaa);
client.addListener(message, function(msg){
console.log(msg);
});
});
server.listen(8080);
I just want to call windows API insted of line
console.log(msg);
is there any way to do this without using external library
any ideas?
More From » node.js