> > Or, don't change the getsockname(), but instead call
> > mip_get_one_mobile_node() afterwards to identify if the address is bound
> > to a care-of address. Note that this binding can dynamically any time,
> > and subsequent mip_get_one_mobile_node() calls are sufficient to capture
> > the changes.
>
> I'd say for connected and bound sockets, getsockname() would return the
> correct topological source address.

But that'd break the getsockname() function, which should return the local
binding of the socket. If the socket is bound to a home address, that
address
should be returned by the function, even though it might be also
(Mobile IP-)bound to a care-of address.

alper



--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to