Not Recommended Documentclose button

Important: The information in this document is Not Recommended and should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-30

Build Requirements: N/A

Runtime Requirements: Carbon (both 9 and X) Mac OS X 10.0.x, 10.1.5 and greater. This sample will not work properly with Mac OS X 10.1 through 10.1.4.

View Source Code:

Download Sample (“LocalServer.zip”, 758.8K)
Download Sample (“LocalServer.dmg”, 1.13M)



Description

This sample code demonstrates how a Classic process can communicate with a Mac OS X process using both TCP and UDP networking protocols. The UDP/TCP server is launched under Mac OS X and waits for a communication request (which the Classic client will initiate.) In order for the Classic client to know which port to use, it issues an AppleEvent request, which the server responds to with the port number to be used. Requirements: Mac OS X 10.0.x, 10.1.5 and greater. This sample will not work properly with Mac OS X 10.1 through 10.1.4. Keywords: Interprocess communications IPC Classic Server Client AppleEvents LocalServer

Document Revision History

Date Notes
2003-01-30Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.