Re: HTTP and FTP with cocoa
Re: HTTP and FTP with cocoa
- Subject: Re: HTTP and FTP with cocoa
- From: email@hidden
- Date: Thu, 28 Feb 2002 11:53:09 -0800
On Thursday, February 28, 2002, at 09:23 AM, Andrew Baldwin wrote:
>
I'm trying to implement a gnutella client/server so I need to generate
>
and respond to HTTP and FTP messages over TCP/IP. I've searched the
>
cocoa-dev "archives" and found suggestions including using BSD sockets,
>
NSSocketPort, CF socket, and the OmniNetwork framework. I've read
>
through the Omni headers and would much rather create my own tailored
>
implementation. What classes should I be using to allow inter-OS
>
communication via HTTP/FTP over TCP/IP? Also, if you could point me in
>
the direction of adequate documentation on any such classes it would be
>
much appreciated.
I've written something similar having an app that is an HTTP client and
server.
I used libCurl and CURLHandle for the client side and SmallSockets for
the server side.
(a reasonable HTTP server implementation is only a few hundred lines of
code)
the FTP server side would be a bit more complicated.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.