pywebui.tcpip.netstat

Module Contents

Classes

Connection

Connection object.

NetstatMethods

Encapsulates methods for manage netstat.

class pywebui.tcpip.netstat.Connection(attrs)

Connection object.

foreignAddress

the foreign address of connection.

Type

str

localAddress

the local address of connection.

Type

str

protocol

the protocol of connection.

Type

str

recieve

the received packets.

Type

int

send

the sent packets.

Type

int

state

the state of connection.

Type

str

class pywebui.tcpip.netstat.NetstatMethods

Encapsulates methods for manage netstat.

get_netstat(self) List[Connection]

Returns the list of net statistics for active internet connections.