I have written one Telnet based connection class to send and receive response from Network. Here I am facing an issue when I am reading the Network response in byte[] by using TelnetConnection.read(byte[]) method, at a time I am receiving maximum of 1024 bytes only and due to this I am getting only half of the response in that request. Pls.let me know the solution to get the entire response in single request.

Thank & Regards,