DatagramSocketImpl question

Godmar Back gback at cs.utah.edu
Sun Aug 2 22:08:08 PDT 1998


 Hi,

while studying the 1.2beta4 API, I realized that java.net.Socket has 
a constructor that allows a user to choose a custom SocketImpl.  
However, java.net.DatagramSocket doesn't seem to have such a constructor.

So, does anybody know what the Sun-blessed way of substituting your own
DatagramSocketImpl is?

Should we just add a Constructor to DatagramSocket that takes a 
DatagramSocketImpl?

Or add a static method that sets the implementation class that is used 
to create new DatagramSockets?  (Which would then affect all subsequent 
instantiations.)

Does anybody know where this is documented?

	- Godmar



More information about the kaffe mailing list