Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

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

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“OTTCPWillDial.zip”, 53.8K)
Download Sample (“OTTCPWillDial.dmg”, 117.9K)


This sample shows how to use the Network Setup library (as introduced in Mac OS 8.5) to determine whether opening a TCP/IP provider will cause a modem to dial. If the Network Setup library is not available, the sample will read the "TCP/IP Preferences" file directly. Keywords: network, setup, configuration, AppleTalk, TCP/IP

Document Revision History

Date Notes
2003-01-14First Version

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.