I am trying to write a program (iPhone) to display some pictures (photos) from a linux server. I am investigating what protocol I should use. Should i just use HTTP? i.e. setting up a HTTP server on the linux server, and write a HTTP client on iPhone? Or, is there a better protocol existing for such application (i.e. focused on photos / pictures transfer / show) ?
or, should I write my own protocol (using TCP or UDP of course) ?
update: Or, is there already a well-known Bonjour service for the same?
thanks.
If you want allow to manipulate files, pay attention to the WebDAV protocol.
Otherwise try to use SFTP (SSH File Transfer Protocol).