This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java.net: Classpath vs. libgcj Comparison



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


begin:vcard 
n:Berger;Cedric
tel;fax:++1 (650) 574-4476
tel;work:++1 (650) 574-4472
x-mozilla-html:TRUE
org:Wireless Networks Inc
version:2.1
email;internet:cedric@wireless-networks.com
title:Embedded Software Engineer
adr;quoted-printable:;;2322 El Camino Real=0D=0A;San Mateo;CA;94403;USA
fn:Cedric Berger
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]