• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HTTP and FTP with cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >HTTP and FTP with cocoa (From: Andrew Baldwin <email@hidden>)

  • Prev by Date: Re: Two basic questions
  • Next by Date: Re: NSView Names
  • Previous by thread: HTTP and FTP with cocoa
  • Next by thread: Re: HTTP and FTP with cocoa
  • Index(es):
    • Date
    • Thread