On Friday 15 October 2004 21:44, Oliver Jowett wrote:
> Ulrich Meis wrote:
> > The attached changes provide as first parameter "hostname:port" to the
> > factory as given in the Properties object, so I removed the &urlServer&
> > thing.
>
> The host and port are already given to the SSLSocketFactory when the
>
> socket is created:
> > @SSL@ java.net.Socket newConnection =
> > factory.createSocket(p_stream.getSocket(), p_stream.getHost(),
> > p_stream.getPort(), true);
Right! I forgot.
>
> Why do we need to also pass them separately to the factory's ctor?
We don't ;-)
I removed that.
See next try attached ;-)
Uli