• 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: TCPIP PortRef?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TCPIP PortRef?


  • Subject: Re: TCPIP PortRef?
  • From: Quinn <email@hidden>
  • Date: Tue, 26 Nov 2002 22:49:30 +0000

At 10:43 -0800 26/11/02, Duane Murphy wrote:
Calling OTGetProviderPortRef() on a UDP port and on a InetSvcRef both
yielded 0 (kOTInvalidPortRef).

That's a known limitation of OTGetProviderPortRef.

Am I overlooking an API that might provide this information? Is there
some other technique to use?

Typically this is done using Network Setup. The current TCP/IP configuration will give you the name of the port that TCP/IP is using.

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: TCPIP PortRef?
      • From: "Duane Murphy" <email@hidden>
References: 
 >TCPIP PortRef? (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: TCPIP PortRef?
  • Next by Date: Re: TCPIP PortRef?
  • Previous by thread: TCPIP PortRef?
  • Next by thread: Re: TCPIP PortRef?
  • Index(es):
    • Date
    • Thread