How to read large data from socket


The problem is that when message length is more than 7000, it’s not reading entire data in socket tunnel. Further I have just checked in java using readfully() method then it’s working properly (read entire length of message)

Please anyone has expert for this ?

I didn’t find the right solution from the Internet.

Explainer Video Example