Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Network Setup and 9.1



We use the MoreNetworkSetup SDK to try and accomplish the following:

1) Get the names of the current configurations for ARA and TCP/IP.

2) Insert configurations for ARA and TCP/IP and make them the current
configurations.
For the ARA configuration the "Connect automatically when starting TCP/IP
applications" is turned on. The TCP/IP configuration "Connect Via" is set
to PPP.

3) Open an Endpoint which envokes ARA to dial the modem.

4) Commuicate over the dial up connection.

5) Force ARA to disconnect.

6) Set the current configurations to the previous configurations prior to
the dial up attempt.

7) Delete our newly inserted configurations.

The above works perfectly on MacOS 8.6 and 9.0. However, we have problems
with 9.1 where OT is being corrupted and we are not able to open another OT
endpoint until we reboot.

Description that invokes problem.

If you try the above steps and ARA dials a number that is busy and the user
then hits cancel the problems occurs. We narrowed down the problem to when
we use MoreNetworkSetup to set the ARA and TCP configurations back to the
configurations before we attempted the dial up.

This appears to be some kind of timing issue because when we set break
points at points before we attempt to restore the configurations to there
original state the problem does not occur.

Also we also experienced the same problem when we created an PPP endpoint
and called ::OTIoctl( ep, I_OTDisconnect, nil ) to force ARA to disconnect.
We fixed this problem by replacing our call to disconnect ARA with
CallPBRemoteAccess( &tRAPB, false ).

I have a modified version of the test project include with the
MoreNetworkSetup SDK that recreates this behaviour if anyone is interested.

Bryan Rieger
AT&T Global Network Services
email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.