Re(2): MoreNetworkSetup: Active TCP/IP port
Re(2): MoreNetworkSetup: Active TCP/IP port
- Subject: Re(2): MoreNetworkSetup: Active TCP/IP port
- From: Jens Bauer <email@hidden>
- Date: Fri, 22 Feb 2002 08:20:26 +0100
Hi Quinn,
On Thu, 21 Feb, 2002, Quinn <email@hidden> wrote:
>
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.
I see it! :)
Thanks again, Quinn!
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
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.