Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active network ports




You can use a routing socket to look up the route for the destination you are trying to reach. The route should include the interface used to reach that destination. You will need to listen for changes in the network configuration.


You may want to make use of the reachability APIs. While they will not tell you for certain that a destination is reachable, they can tell you if the destination is definitely not reachable (no route to host, no DNS, etc) or if the destination would require dialing the modem (dial-on demand).

-josh

On Mar 21, 2006, at 4:28 AM, innovator information wrote:

If I am connected to internet( or LAN) through Airport and ethernet both.
How do I know which is connected to internet.
And I need to send data, first to Airport connection. How can I do that.


And If its internet connection by phone, I need to skip sending data
on that line.

Thanks in advance.

Regards,
Raj


On 3/21/06, Quinn <email@hidden> wrote:
At 14:24 +0530 20/3/06, innovator information wrote:
How to get active network ports. Suppose I connected through ethernet
and also through airport.

There really isn't enough information here to give you a proper answer. At the user level, what information are you trying to get? What do you plan do you do with that information when you get it?

S+E
--
Quinn "The Eskimo!" <http://www.apple.com/ developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/inform.inn% 40gmail.com


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/jgraessley% 40apple.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >Active network ports (From: "innovator information" <email@hidden>)
 >Re: Active network ports (From: "innovator information" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.