Control byte stream in TCP Plugin

Hi All
I use TCP plugin to connect to a system, after socket.send( request) which is placed in a loop ( to get update of device’s status) .The system reply a lot of bytes in stream ,therefore, I miss some packages. I have not much knowledge in TCP communication , please give me advices on how to monitor transmiting and receiving more effeciency.
Thanks in advance
Kevin