I'm really having a problem controlling 3D of a CNC machine through arduino ethernet shield. I wrote a simple program to control it without any webserver/webclient coding and shown below and all went smoothly: