¡@

Home 

javascript Programming Glossary: client.on

How to use redis PUBLISH/SUBSCRIBE with nodejs to notify clients when data values change?

http://stackoverflow.com/questions/4441798/how-to-use-redis-publish-subscribe-with-nodejs-to-notify-clients-when-data-value

message function channel message client.send message client.on 'message' function msg client.on 'disconnect' function subscribe.quit.. client.send message client.on 'message' function msg client.on 'disconnect' function subscribe.quit . public index.html..

Getting-started: Setup Database for Node.js

http://stackoverflow.com/questions/4542694/getting-started-setup-database-for-node-js

var redis require redis client redis.createClient client.on error function err console.log Error err client.set string key..

NodeJS + socket.io: simple Client/Server example not working

http://stackoverflow.com/questions/6411070/nodejs-socket-io-simple-client-server-example-not-working

client sys.puts New client is here client.send hello world client.on 'message' function msg sys.puts client has sent msg client.on.. 'message' function msg sys.puts client has sent msg client.on 'disconnect' function sys.puts Client has disconnected CLIENT.. setTimeout function client.send 'Waited two seconds ' 2000 client.on 'message' function client.on 'disconnect' function public..

Socket.IO basic example not working

http://stackoverflow.com/questions/6770490/socket-io-basic-example-not-working

function client console.log 'Client connected.' client.on 'message' function console.log 'Message.' client.send 'Lorem.. 'Message.' client.send 'Lorem ipsum dolor sit amet' client.on 'disconnect' function console.log 'Disconnected.' This is my..