I am using Inputstream.read(bytes) to read bytes using TCP protocol.
Problem is :
When I try to run the code on windows server , it reads complete bytes.
But when I run the same code on Linux server , I sometimes get incomplete bytes.
I am trying to figure out why in.read() behaves differently on two platforms?