EOFException
Hi,
I have a class TinyTLS extending Socket. I open a socket via TinyTLS and read the input stream via BufferedReader. But unfortunately I get EOFException.
Briefly to illustrate;
class TinyTLSextends Socket{}
..
Socket s=new TinyTLS("www.web.com",443);
BufferedReader br=new BufferedReader(new InputStreamReader(s.getInputStream()));
String str;
while ((str=br.readLine())!=null) process(str);// Here I get EOFException
Actually the bufferedreader returns the content of the webpage successfully but at the end the EOFException is thrown.
If I use
Socket s=new Socket(host,port)
it works fine. So the problem is somewhere in the TinyTLS class. What might it be?
Thanks in advance

