Skip to Main Content

Java Programming

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!

What is ASCII character for end of stream?

807603Nov 7 2007 — edited Nov 7 2007
I googled but failed to find the answer. Is it 004/EOT, 027/ETB, or something else?

In socket, read() != -1 never be reached, which incurred my above question. I want to see what ascii is used to indicate end of stream.

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2007
Added on Nov 7 2007
10 comments
3,624 views