tcpinfo (pypi): TCPinfo is a Python3 extension written in C to collect information about TCP-sockets via Linux's inet_diag interface
Keywords: tcp