Re: MoreNetworkSetup: Active TCP/IP port
Re: MoreNetworkSetup: Active TCP/IP port
- Subject: Re: MoreNetworkSetup: Active TCP/IP port
- From: Quinn <email@hidden>
- Date: Thu, 21 Feb 2002 23:28:13 +0000
At 19:39 +0100 20/2/02, Jens Bauer wrote:
Does anybody know how to find out which TCP/IP port is the current port
when using MoreNetworkSetup ?
In short: I'm trying to see if Ethernet is selected as the active port or
if it's something else (such as PPP).
Take a look at the implementation of NSHTCPWillDial, which does
exactly that. It looks through to GetTCPInfo, which in turn calls
GetTCPInfoFromDatabase, which is the routine that extracts the name
of the port that TCP/IP is configured to use.
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.