Documentation
¶
Overview ¶
Package boundport provides utilies for getting bound port information
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundPort ¶
type BoundPort interface {
LocalAddress() string
LocalPort() int
Transport() string
Process() string
PID() int
}
BoundPort represents a port that is bound to a process
func BoundPorts ¶
func BoundPorts(host *components.RemoteHost) ([]BoundPort, error)
BoundPorts returns a list of ports that are bound on the host
func FromNetstat ¶
FromNetstat parses the output of the netstat command
Click to show internal directories.
Click to hide internal directories.