Quote:
> I am writing a TCP Server that will communicate with a java client.
> All data will be text and numbers. The java app is looking for
> something that tells it that the data is done being sent after each
> transmission. The person who is writing the java end asked if I can
> send a Ctrl-F or flush the buffer. I had intended to hand the socket
> to a networkstream and use the stream for two way communications. Is
> there a better way to handle this?
Just close the stream, which will flush and close the socket. The client
should detect this as EOF on the socket.
David