[Twisted-Python] Reporting total traffic that goes through an SSL socket

Burak Arslan burak.arslan at arskom.com.tr
Wed Mar 25 02:35:29 MDT 2015


Hello All,

I'm using twisted for implementing a custom protocol via SSL.

I've been wondering though, is there an easy way of counting the number
of bytes that go in and out of the socket, including SSL overhead? I can
easily count what I'm reading and I'm writing, but not what actually
goes through the pipe.

I do realize that I won't be counting packet replays and such, that's
fine for the time being.

Best regards,
Burak




More information about the Twisted-Python mailing list