• 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: Active network ports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Active network ports


  • Subject: Re: Active network ports
  • From: "innovator information" <email@hidden>
  • Date: Wed, 22 Mar 2006 09:53:15 +0530

For my situation I don't know the destination. I need broadcast the
UDP packets first to Airport and then to Ethernet. I will get response
to those packets, then only I will be aware of destination. please
specify api's or links also. So I can go through.

Regards,
Raj



On 3/22/06, Josh Graessley <email@hidden> wrote:
>
> 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:
> >> 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:
> > 40apple.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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Active network ports
      • From: "Peter Sichel" <email@hidden>
References: 
 >Active network ports (From: "innovator information" <email@hidden>)
 >Re: Active network ports (From: "innovator information" <email@hidden>)
 >Re: Active network ports (From: Josh Graessley <email@hidden>)

  • Prev by Date: Network Utility
  • Next by Date: Re: Network Utility
  • Previous by thread: Re: Active network ports
  • Next by thread: Re: Active network ports
  • Index(es):
    • Date
    • Thread