Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java SSLSocket and inputstream.available()

843811Jan 27 2004 — edited Jan 28 2004
I have server and client environment which I have tried to transform to use secure connection.
SSLSocket connection between server and client is up, but when I try to use inputstream.available() method it always returns zero.

If before calling .available method, try read a mark from the stream (.read(byte[], 0, 1)
then .available return right amount of sum.

Using normal sockects .available works fine and also hole software works fine,
but now using SSLSockets I have this problem.

There is awful lot messages where is no answer... so I hope this is not too big problem to be solved?!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2004
Added on Jan 27 2004
1 comment
426 views