Wednesday, June 27, 2001 12:37 PM
Read the FAQ that discusses the differences between
concurrent and iterative servers.
If you want to have multiple threads share the
same socket, you need to properly handle
concurrency issues in your code, otherwise
you will have problems.
send() can throw an IOException
if the socket is closed, if the network is down,
and probably a few other reasons as well. Sending
is done in native code, and any problems that the
native code encounter get passed back to Java