ADC Home > Reference Library > Technical Q&As > Carbon > Networking >
|
Q: I want to program with OpenTransport. What libraries should I link with? A: Here are descriptions of each of the libraries that come with OT, and why you might need to link them. Linking OT for PPC Code
To give you a quick start, the basic libraries to link with your application are: OpenTransportLib If you need AppleTalk services, also link with: OpenTptAppleTalkLib If you need Internet services, also link with: OpenTptInternetLib The two following libraries may provide a smaller footprint if your application only deals with ports. Once you've got it working, try replacing OpenTransportLib and OpenTransportAppPPC.o with these and see if your application still links: OpenTransportUtilLib The following libraries replace the OpenTransportAppPPC.o and OpenTptUtilsAppPPC.o if you are writing a stand-alone code resource, CFM fragment, or ASLM shared library: OpenTransportExtnPPC.o
Linking OT for 68K CodeTo give you a quick start, the basic libraries to link with your application are: OpenTransport.o If you need AppleTalk services, also link with: OpenTptATalk.o If you need Internet services, also link with: OpenTptInet.o The following library may provide a smaller footprint if your application only deals with ports. Once you've got it working, try replacing the first library with this and see if it still links: OpenTptUtils.o The following library replaces the OpenTransportApp.o if you are writing a stand-alone code resource or ASLM shared library: OpenTransportExtn.o In addition, the following libraries are identical to their similarly named counterparts except that they are suitable for linking with MPW model near clients: OpenTransport.n.o |
|