java.net: Classpath vs. libgcj Comparison
Cedric Berger
cedric@wireless-networks.com
Tue Apr 18 20:58:00 GMT 2000
Jeff Sturm wrote:
> The DatagramSocket class works slightly different, it doesn't use a
> factory class but instead uses a system property, impl.prefix, to
> resolve the implementation class name. The name of the default socket
> factory could be a system property as well.
DatagramSocketImplFactory has been defined in 1.3.
from Sun doc:
"The following enhancements have been made to networking.:"
...
"New interface java.net.DatagramSocketImplFactory,
which is used by DatagramSocket to create actual socket implementations.
This addition makes DatagramSocket consistent with the other socket types,
by allowing the user to set the DatagramSocketImplFactory through a public
API."
...
This looks better, finally...
Cedric
More information about the Java
mailing list