2 Replies Latest reply: May 27, 2013 4:49 AM by Murray9654 RSS

    Why is ssl handshake happening when obtaining outputstream from socket?

    Murray9654
      Hi The SSL hand shake has to happen when the ssl server socket returns the socket, I mean on "accept()" method or it has to happen on first I/O. But why is it happening when obtaining "socket.getOutputStream()"? Even before i write something to "outputStream" the hand shake is happening. What is the reason for it?