Hi,
I am developing an iPhone app which need connection to server to fetch huge data at regular interval.So need to know which way is better socket connection or using libXML
Thanks
Hi,
I am developing an iPhone app which need connection to server to fetch huge data at regular interval.So need to know which way is better socket connection or using libXML
Thanks
libXML isn't a data transfer library, and sockets don't handle XML, so if you are trying to download and process large XML documents, I'd say you need both, not one or the other.
Also, I'd be extremely wary of transferring "huge" data sets directly to an iPhone. At the very least, I'd use compression and give the user some warnings before transferring data over a 3G link.
Whats you mean by Huge data.. whats would be the size.\n Its better First you test with max data which is chance to come from server.
Hi,
Thanks to all of you for replying. Sorry my mistake i was confused with XMLParser using which we can fetch data too so was a question and my app would be fetching data to plot graph and display live data to user ,refreshing it every second so wanted to know what is the best way to aciev this. Earlier i had used XMLparser for fetching and prasing data but being slow technique i want to know which technique should be used?
Thanks