Asankha
 
I haven't said a word about your second program, that closes the listening
socket. *Of course* that causes connection refusals, it can't possibly not,
but it isn't relevant to the misconceptions about what OP_ACCEPT does that
you have been expressing here and that I have been addressing.
 
Closing the listening socket, as you seem to be now suggesting, is a very
poor idea indeed: what happens if some other process grabs the port in the
meantime: what is Tomcat supposed to do then?
 
EJP

Reply via email to