NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

How to calculate SSL socket traffic?

Open TailyFair opened this issue 2 years ago • 0 comments

Hi,

I need to calculate each open SSL socket real traffic (with TLS overhead). SslSession has BytesReceived and BytesSent, but they exclude network traffic that is generated by TLS/SSL. I checked Socket and SslStream classes but could not find how get or intercept real traffic metrics.

Does anyone have suggestions how to approach this issue?

Thanks!

TailyFair avatar Jun 17 '22 10:06 TailyFair