|
Hi everybody,
I have a question about socket needs your help. When I use
socket to communicate with other utility.
I need a mark of end of input stream like EOF in C to avoid
the block of read. But in java Ed v1.2 I cann't find a way to do
so.
In V1.3.1 I found methods shutdownInput and
shutdownOutput of socket. But I do need a method run on
V1.2 to solve my problem. Can anyone help me?
Thanks a lot.
|
