InputStream of Server and Client

Wednesday, July 9, 2014

My question is if the same inputStream is provided to both Client and server. In my Server side i have:

final socket finalAccept=myServerSocket.accept();

for the client(which is multithreaded)i have:


now can it happen that both of them simultaneously read the InputStream resulting in data corruption