iPhone controlling Arduino over network

How are you transfering the data? are you sending in your html or using socketsend?