projects
/
profile
/
ivi
/
cowhide.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump version.
[profile/ivi/cowhide.git]
/
tests
/
websocket.js
1
var WebSocketServer = require('ws').Server
2
, wss = new WebSocketServer({port: 23000});
3
wss.on('connection', function(ws) {
4
ws.on('message', function(message) {
5
console.log('received: %s', message);
6
});
7
});