data type error on sensor data to ethernet client
The code you posted is performing incompatible casts and by thus is sending garbage to client.println. 

There is no automatic conversion in C/C++ from an array of integers (int inp[]) or longs, to a C style string char *. A C Style string should end with null terminator \0, and the one in your code doesn't. For example, in this line:

char *output = (char *) &amp;inp[0]; 


The inp[0] contains the first integer. The expression &amp;inp[0] contains the address of that integer in memory. 

Thus the cast to (char *) will yield a malformed C style string, since it will not end with a null terminator, and more important, will not contain the data you expect it would (this cast is saying - "hey, compiler, note that the address of that int is actually the address of a C style string").

You can, however, utilize the String type constructor that receives int/long, and send the duration in order, something similar to:

        void getData() 
        {
            ... // rest of the code here
            client.println(String(cmOne));
            client.println(String(cmTwo));
            ... // etc.
        }