• 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: Implementing a TCP port listener in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing a TCP port listener in Cocoa


  • Subject: Re: Implementing a TCP port listener in Cocoa
  • From: Rick Hoge <email@hidden>
  • Date: Wed, 28 Jun 2006 23:34:27 -0400


Why not just use the HTTPServer sample code <http:// developer.apple.com/samplecode/CocoaHTTPServer/index.html> ?

This is indeed a good example - the CocoaSOAP example is based on this.

Now my problem is to get file descriptors corresponding to the input and output streams - the libraries I want to re-use for parsing the streams are written assuming they'll be used in an app launched by inetd with the input and output streams mapped to stdin and stdout. CocoaHTTPServer sets up NSInputStream and NSOutputStream objects - I need to figure out how to adapt usage of functions that read from stdin and stdout to work with these streams...

Rick


_______________________________________________ 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: Implementing a TCP port listener in Cocoa
      • From: Jakob Olesen <email@hidden>
References: 
 >Implementing a TCP port listener in Cocoa (From: Rick Hoge <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: Dustin Voss <email@hidden>)
 >Re: Implementing a TCP port listener in Cocoa (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: Implementing a TCP port listener in Cocoa
  • Next by Date: Re: Getting a return value from a dialog
  • Previous by thread: Re: Implementing a TCP port listener in Cocoa
  • Next by thread: Re: Implementing a TCP port listener in Cocoa
  • Index(es):
    • Date
    • Thread