SCTP for Java
Alan Bateman
Alan.Bateman at Sun.COM
Tue Aug 26 09:12:27 PDT 2008
David M. Lloyd wrote:
> :
> I just mean, what would be the benefit of using SocketAddress rather
> than using a String or Path directly? You can avoid the difficulties
> of extending SocketAddress by simply not using it.
If the protocol or socket address is specified by String then the
implementation would still require to understand the representation so
that it can map to the appropriate socket type and domain. Is the
concern that applications have a dependency on other SocketAddress types?
-Alan.
More information about the net-dev
mailing list