:py:mod:`pywebui.tcpip.netstat` =============================== .. py:module:: pywebui.tcpip.netstat Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: pywebui.tcpip.netstat.Connection pywebui.tcpip.netstat.NetstatMethods .. py:class:: Connection(attrs) Connection object. .. attribute:: foreignAddress the foreign address of connection. :type: str .. attribute:: localAddress the local address of connection. :type: str .. attribute:: protocol the protocol of connection. :type: str .. attribute:: recieve the received packets. :type: int .. attribute:: send the sent packets. :type: int .. attribute:: state the state of connection. :type: str .. py:class:: NetstatMethods Encapsulates methods for manage netstat. .. py:method:: get_netstat(self) -> List[Connection] Returns the list of net statistics for active internet connections.