Re: SocketImpl.create()

2008-03-20 Thread Jean-Christophe Collet
Roman Kennke wrote: I am confused how this method is supposed to work. It has a boolean parameter that is documented to be used to distinguish between datagram and stream sockets. However, it is only used by Socket and ServerSocket, so I guess it must always be a stream socket? But it gets worse.

SocketImpl.create()

2008-03-19 Thread Roman Kennke
I am confused how this method is supposed to work. It has a boolean parameter that is documented to be used to distinguish between datagram and stream sockets. However, it is only used by Socket and ServerSocket, so I guess it must always be a stream socket? But it gets worse. The PlainSocketImpl.c