socket samplle by node.js