Friday, February 15, 2002 05:47 AM
I am trying to communicate over sockets, reading and writing messages on a character basis using (buffered) readers and writers. I need a way of marking the end of a message, without closing the socket's Input/Output Stream. Most of the examples I have seen are line based and do something like sending a line containing the sole word "END". I want to do the same by sending a single control character. I tried the unicode EOT (end of transmission) char (0004), but that somehow gets filtered out. Any Ideas?