Packet loss on TCP Server side

Hi,

I am capturing data from ADC and need to send it over PC in network. For that I am using built-in TCPServer class. I am capturing 6 channels from ADC at 300Hz and sending it over TCP to the client running on Linux system. After receiving the data, client dumps the data to the file.

But with this setup, I found some packet loss during testing. So initially I thought it is may be due to receiver. So I implement threads to capture data and writing data to the file. Also add queue to store the data. But still issue persist. After I debug with Wireshark, and found that data loss happens on server side i.e. on Photon itself. Do I need to do some configuration on TCP Server side?

Appreciate your quick reply.

Thanks,
Dhaval