i'm trying to change from ServerSocket to SSLServerSocket but i got the error message :
javax.net.ssl.SSLServerSocket is abstract; cannot be instantiated
SSLServerSocket ss= new SSLServerSocket(port);
here is what i want to change :
ServerSocket ss = new ServerSocket(port); change to ==> SSLServerSocket ss= new SSLServerSocket(port);
is it possible to change? if can not what is the solution to do this work?