There is a plain socket server listening on port 12345;
ServerSocket s = new ServerSocket(12345);
What I want to know is that it is possible that:
- If the client send a
httprequest, the server handle the request directly, - If the client send a
httpsrequest, the server change client socket to SSLSocket?
Thanks