Re: TCPIP PortRef?
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.