• 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: OpenTransport Versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenTransport Versions


  • Subject: Re: OpenTransport Versions
  • From: Quinn <email@hidden>
  • Date: Fri, 29 Mar 2002 10:56:12 +0000

At 12:01 +0900 29/3/02, Mahendra Pohare wrote:
My ideal objective is to write a single code-base for the above mentioned
HTTP based communication that would work for all the versions
of Mac OS 7.x thru 10.1.

Does anyone have some information /pointers?

If you /really/ need to work on System 7.x through Mac OS 10.1, your only choice is the Open Transport API. Open Transport 1.1.1 (the first truly usable version) can be installed back to 7.1, and the same API is supported on Mac OS X.

If you do decide to use the OT API directly, you should probably start with the OTSimpleDownloadHTTP sample.

<http://developer.apple.com/samplecode/Sample_Code/Networking/OTSimpleDownloadHTTP.htm>

However, I strongly recommend that you don't provide support back that far. IMHO very few people running 7.1 are buying new software. Also, the testing matrix for System 7.1 and above is huge, being the product of an enormous number of Macs and an enormous number of system releases.

A better idea might be to use URLAccess. This is available on 8.6 and above (an much more reasonable minimum system version) and provides a very high-level API for accessing URLs.

<http://developer.apple.com/techpubs/macosx/Carbon/networkcomm/URLAccessManager/urlaccessmanager.html>

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: OpenTransport Versions
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: SystemConfiguration Help
  • Next by Date: Local Connection
  • Previous by thread: OpenTransport Versions
  • Next by thread: Re: OpenTransport Versions
  • Index(es):
    • Date
    • Thread