How do I send an EOF or EOT (End of Transmission) character ?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Matt_Kistler
Posted On:   Friday, February 15, 2002 05:47 AM

Hi,

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?

About | Sitemap | Contact