thanks
turin
> so many new iPhone apps (Net Sharing..etc) have a webdav http in their
> applications
> but haven't figured out how they accomplish this.. ie: a webserver to
> host the webdav protocol..
So, WebDAV is an extension of HTTP that adds a few new methods and
behaviors. What are those apps using it for? The most common use of
WebDAV on Macs is for file sharing (that's how .mac iDisks work) even
though it's not strictly intended as a file-server protocol.
There isn't any support in the system frameworks for running an HTTP
server. You can use MYNetwork's TCPListener and TCPConnection to
handle the sockets, and CFHTTPMessage can help with parsing of HTTP
headers, but the rest of the work has to be done yourself.
Have you checked whether there's any 3rd party Cocoa library for
running an HTTP or WebDAV server?
> I want to try to use BLIP with a webdav server for the iPhone..
> any thoughts on how to do the webdav part?
BLIP isn't HTTP or WebDAV, so those classes won't help.
WebDAV would be useful for interoperability with other clients that
use it, like the file-sharing client in Mac OS. If you want to
communicate between two apps that you're developing, why not just use
BLIP instead?
—Jens
the reason i haven't tried to use BLIp for filesharing is i have yet
to figure out
how to piece a file together when i transmit it over BLIP.. i know
there is a counter.etc..
was just tyring to send a JPEG or something but couldnt get it work over BLIP.
probably my lack of understanding ..
turin
it's mainly for filesharing.. like Air Sharing..
not sure how they do it then... like Air share. you can map the iPhone as
a network drive on the mac using http://myphone.iphone:8080/ or
something like that
the reason i haven't tried to use BLIp for filesharing is i have yet
to figure out
how to piece a file together when i transmit it over BLIP.. i know
there is a counter.etc..
was just tyring to send a JPEG or something but couldnt get it work over BLIP.
probably my lack of understanding ..
what is the url for the open source TouchHTTP?
that is great news!!
now. if only the Keychain.framework world compile into the iPhone
the IPhone would be unstoppable!
turin