• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MoreNetworkSetup: Active TCP/IP port
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re(2): MoreNetworkSetup: Active TCP/IP port
      • From: Jens Bauer <email@hidden>
References: 
 >MoreNetworkSetup: Active TCP/IP port (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: oops, MoreNetworkSetup / helpers
  • Next by Date: Re(2): MoreNetworkSetup: Active TCP/IP port
  • Previous by thread: MoreNetworkSetup: Active TCP/IP port
  • Next by thread: Re(2): MoreNetworkSetup: Active TCP/IP port
  • Index(es):
    • Date
    • Thread