Best Way of Communicating with a Arduino with WiFi shield

Im working on a project which requires me to remotely control my arduino.
I tried to set up a telnet server using the code on the arduino site and couldnt actually connect to it from my pc ( i think thats my own inability though),
so i was wondering what the best way of communicating with the arduino was.

thanks. :slight_smile: