JSSE does not support InputStream.available()

My program is checking the InputStream.available() method to see if there is any data ready to be read (so it would not block).

This works fine with a regular socket but with a JSSE socket the available() method always returns 0. Is this a limitation or a known bug? Is there a workaround?

Thanks

Dan

[332 byte] By [danweber] at [2007-9-26 1:30:07]
# 1
Hi Dan,could you find the answer. I am also facing the same problen. But inputstream.read() is working.Can you tell me a beeter solution.thanks Gopal
gopal_1974 at 2007-6-29 1:27:45 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...