From: Godmar Back (gback@cs.utah.edu)
Date: Mon Dec 14 1998 - 22:07:52 EST
>
> My docs have a typo maybe - they say it's getLocalAddress in one place,
> and getInetAddress in another - which is correct? (I use the latter).
>
You have to have both.
getInetAddress is the address to which the socket is connected,
getLocalAddress is the one to which is it bound.
Ditto for getPort and getLocalPort.
- Godmar
> Tim
>
> Godmar Back wrote:
>
> > Tim, when you merged in your changes to java.net, you killed
> > Socket's getLocalAddr method.
> >
> > Now I'm not sure whether resurrecting the old method is the right
> > thing. It is possible that it was wrong. Could you check?
> >
> > - Godmar
>
>
>
> --
> Tim Wilkinson Tel: +1 510 704 1660
> Transvirtual Technologies, Inc., Fax: +1 510 704 1893
> Berkeley, CA, USA. Email: tim@transvirtual.com
>
>
>
>
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:18 EDT