socket statistic

Hi,
I want retrieve info about sockets (address, status, tx/rx count …)
can somebody help me ?

Thanks Jakub