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: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- Previous message: Erwin Moller: "Re: network wide lock"
- In reply to: Abraham Khalil: "Print reply to client secure socket from it's SSLServerSocket connection"
- Next in thread: Abraham Khalil: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Jan 2004 04:08:53 -0800
It's ok - sockets are bi-directional - i.e can get input or output
stream and 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: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- Previous message: Erwin Moller: "Re: network wide lock"
- In reply to: Abraham Khalil: "Print reply to client secure socket from it's SSLServerSocket connection"
- Next in thread: Abraham Khalil: "Re: Print reply to client secure socket from it's SSLServerSocket connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]