Linux keeps per-interface statistics, ifconfig reports them just fine.
But does Linux keep per-TCP connection statistics, specifically, how many rx/tx bytes this session? If it does, I sure can't find them.
Can you?
A Google search for IPtraf will point you in the right direction and includes articles on topics such as pairing IPtraf with RDDtool for graphing connections over time.