compare socket.io & tcp send message