Is it possible to have one thread write to the OutputStream of a Java Socket, while another reads from the socket\'s InputStream, with
OutputStream
Socket
InputStream
Yes, that's safe.
If you wanted more than one thread reading from the InputStream you would have to be more careful (assuming you are reading more than one byte at a time).