Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func GetTCP4Table() (connections []*socket.ConnectionInfo, listeners []*socket.BindInfo, err error)
- func GetTCP6Table() (connections []*socket.ConnectionInfo, listeners []*socket.BindInfo, err error)
- func GetUDP4Table() (binds []*socket.BindInfo, err error)
- func GetUDP6Table() (binds []*socket.BindInfo, err error)
- type IPHelper
Constants ¶
View Source
const ( IPv4 uint8 = 4 IPv6 uint8 = 6 TCP uint8 = 6 UDP uint8 = 17 )
IP and Protocol constants
Variables ¶
This section is empty.
Functions ¶
func GetTCP4Table ¶
func GetTCP4Table() (connections []*socket.ConnectionInfo, listeners []*socket.BindInfo, err error)
GetTCP4Table returns the system table for IPv4 TCP activity.
func GetTCP6Table ¶
func GetTCP6Table() (connections []*socket.ConnectionInfo, listeners []*socket.BindInfo, err error)
GetTCP6Table returns the system table for IPv6 TCP activity.
func GetUDP4Table ¶
GetUDP4Table returns the system table for IPv4 UDP activity.
func GetUDP6Table ¶
GetUDP6Table returns the system table for IPv6 UDP activity.
Types ¶
Click to show internal directories.
Click to hide internal directories.