Re: sockets
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.
References: | |
| >sockets (From: Igor Garnov <email@hidden>) |