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

Re: sockets


  • Subject: Re: sockets
  • From: Quinn <email@hidden>
  • Date: Tue, 27 May 2003 15:51:17 +0100

At 15:50 +0400 27/5/03, Igor Garnov wrote:
I am new to this maillist

Welcome.

How do I implement TCP connection in my application if I want it to be MacOS 9 compatible?

If you use the Open Transport APIs, your code should run on both Mac OS 9 and X. The sockets API is not directly supported by Mac OS 9. If you want to use sockets on Mac OS X, you'll have to invent a sockets compatibility library for Mac OS 9 (as reuse an existing one, such as GUSI), or have different source for each platform.

The best approach to take depends on the nature of your program. For example, if you only make limited use of the network, using Open Transport is a good approach. On the other hand, if you need the best performance on both platforms, you probably should write separate code for each. If you can supply us with a little more details about your networking needs, I can offer further advice.

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:
    • What causes protocols to detach from en0
      • From: "Peter Sichel" <email@hidden>
    • MoreSCF weird crash
      • From: Jen Beaven <email@hidden>
References: 
 >sockets (From: Igor Garnov <email@hidden>)

  • Prev by Date: Re: sockets
  • Next by Date: MoreSCF weird crash
  • Previous by thread: Re: sockets
  • Next by thread: MoreSCF weird crash
  • Index(es):
    • Date
    • Thread