drawing sample using socket.io