I'm calculating the in/out bytes between my application and also the server. The findings within the application is completely not the same as the one I possess via iptables?

I have a question for you. Your app might be counting the payload bytes and not the full packet. How versed are you about payload vs packet size?

(This question is also the answer why such counts rarely match.)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.