Re: Print reply to client secure socket from it's SSLServerSocket connection
From: Abraham Khalil (akhalil_at_pacific.net.au)
Date: 01/26/04
- Next message: Abraham Khalil: "Socket flood - control XML packets when all received"
- Previous message: Abraham Khalil: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- In reply to: Abraham Khalil: "Print reply to client secure socket from it's SSLServerSocket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Jan 2004 04:09:57 -0800
It's ok - sockets are bi-directional - both input and output stream
provided - i.e read/write...
akhalil@pacific.net.au (Abraham Khalil) wrote in message news:<b7f36ade.0401252133.6a33fc0c@posting.google.com>...
> Hello,
> Have a secure socket connected to SSLServerSocket but the server
> socket has a problem replying back to the secure socket. It's not
> showing any text??
>
> Anyone know what could be wrong with it?
>
> Thanks
>
> SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
>
> // This gets the output stream of the client socket?
> PrintWriter out = new PrintWriter(sslSocket.getOutputStream(), true);
>
> out.println("Here's a response....");
- Next message: Abraham Khalil: "Socket flood - control XML packets when all received"
- Previous message: Abraham Khalil: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- In reply to: Abraham Khalil: "Print reply to client secure socket from it's SSLServerSocket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]