Performance issue while reading socket
Hi
I am new to java socket reading and am trying to read a AS400 port for the data.
There is a stub that posts the data to this socket which takes 15 milli seconds which is acceptable.
However as a thread that is consistently reading this As400 port reads the data using the following command
in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
It takes 25-30 seconds for reading the data from this port.
How do I know if this is a problem in my coding or a hardwar issue?
Is there a better coding technique for this?

