Re: native sockets different on powerbooks/iBooks?
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.