Hi Folks,

I have question on handling streams (input, output)

if you write to output stream once will session will be closed?

I am having this problem; that in separate (I/O) handling  thread,
I have to write in the output stream in a loop; but as write once in that
loop; looks like session get closed;
some time I get exception (session closed) but 90% time some junk is written
on socket (ethereal sniffer shows) only once.
Though it loops to write; and 5% time everything works fine; I think classic
thread race conditon problem

Any insights how I can fix this problem. I am using tar ball Mina-1.0.1

thanks
veer


--
Imagination is more important than knowledge...Albert Einstein

Reply via email to