• 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: embedding web server in cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: embedding web server in cocoa app


  • Subject: Re: embedding web server in cocoa app
  • From: Lucas Eckels <email@hidden>
  • Date: Sat, 14 May 2005 12:30:46 -0400

On 5/14/05, Pierre Chatel <email@hidden> wrote:
> i want to embed a lightweight http server in a Cocoa application in
> order to serve rss/xml files. I found Jetty (http://jetty.mortbay.com/
> jetty/index.html) but it's developed in Java and there's no simple or
> elegant way to control it from a cocoa application.

There may be some ready-made solution, but HTTP is a pretty simple
protocol.  I know I implemented a pretty wide subset of HTTP 1.1 in C
in an evening for a one-week project in a networking course.  For
serving RSS, you probably don't need to implement many of the header
tags beyond If-Modified-Since and the other caching tags.

You can read about HTTP 1.1 here: ftp://ftp.rfc-editor.org/in-notes/rfc2616.txt.
TCP/IP Illustrated vol 1 by Richard Stevens is my personal favorite
networking text, and has a pretty good chapter on HTTP.

And if you develop a nice shiny Obj-C class, maybe you can package it
up and share it with the world. :)

Lucas
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: embedding web server in cocoa app
      • From: Chris Ryland <email@hidden>
References: 
 >embedding web server in cocoa app (From: Pierre Chatel <email@hidden>)

  • Prev by Date: Tiger nibs
  • Next by Date: Re: embedding web server in cocoa app
  • Previous by thread: embedding web server in cocoa app
  • Next by thread: Re: embedding web server in cocoa app
  • Index(es):
    • Date
    • Thread