Re: question about socket with link local addr

"Jim Busse" <[email protected]>
Newsgroups gmane.ietf.zeroconf
Message-ID <001501c3577d$fb82fce0$6701a8c0@upstairs>
Hi,m Stuart!

Please correct me if I'm wrong, but isn't this question about a generic
socket problem?

I think if I am using ethernet phy and a 10.1.1.157 address with a
relatively standard netmask of 255.255.255.0 and I create a socket, using
Windows stack or Linux stack, to IP address 169.254.80.220, and I am using a
DHCP router, doesn't that packet get forwarded to the router's MAC and then
go nowhere?

And, if I do the same thing but have no router, doesn't the current Windows
and Linux stack just eat the packet and it goes nowhere?  Since there's no
router MAC to forward the packet?

Wasn't there a substantial discussion about this issue?  And wasn't the
resolution that we don't have to care about this situation?

And isn't this a generic socket stack issue, not related to Apple?

Again, please correct me if I'm wrong.

Thanks

Jim Busse



----- Original Message -----
From: "Stuart Cheshire" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 30, 2003 6:30 PM
Subject: Re: question about socket with link local addr


> Mark Yang wrote:
> >Hi,
> >    This looks like a very simple question,  but I don't know where do
> >ask so I post it here.
> >I start my Mac, my "network" setting shows I have IP "10.1.1.157" since
> >I am using DHCP,
> >I created a socket, try to connect to a linklocal addr say
> >"169.254.80.220". now I find i am using IP "10.1.1.157" to connect
> >obviously this is not what I want.
> >
> >    Question is how do I create a socket on mac  such that the packet i
> >send out shows my IP  LL addr?
> >    Thanks
> >mark
>
> The right place to ask your Mac-specific programming questions is at
> [email protected]
>
> See <http://www.lists.apple.com/mailman/listinfo/macnetworkprog>
>
> For general developer information, see <http://developer.apple.com/>
>
> Stuart Cheshire <[email protected]>
>  * Wizard Without Portfolio, Apple Computer, Inc.
>  * www.stuartcheshire.org
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.