• 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: native sockets different on powerbooks/iBooks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: native sockets different on powerbooks/iBooks?


  • Subject: Re: native sockets different on powerbooks/iBooks?
  • From: Jason Linhart <email@hidden>
  • Date: Wed, 15 Oct 2003 13:21:32 -0400

On 10/15/03 12:41 PM Roy Lovejoy (email@hidden) wrote:

>if I knew how to get the broadcast address, I'd be down the road.

Remember, there are many possible broadcast addresses, one for each
network interface. All machines will have at least two network interfaces
(local loopback and built in ethernet) and might well have several more
(Airport, other ethernets, TCP/IP over Firewire or USB, etc). To get a
broadcast address, you need to know which specific interface you want to
broadcast on.

Various Unix style APIs will allow you to iterate through the interfaces
and find out the broadcast address for each one. How you will pick which
one you want to use is not at all clear, it very much depends on exactly
what you are trying to do.

Jason

-----------------
email@hidden
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets
_______________________________________________
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.

  • Prev by Date: Re: Communication with an ethernet based device
  • Next by Date: [ANN] Secure Distributed Objects first alpha
  • Previous by thread: Re: native sockets different on powerbooks/iBooks?
  • Next by thread: Communication with an ethernet based device
  • Index(es):
    • Date
    • Thread