Documentation ¶
Index ¶
Constants ¶
View Source
const ( BROADCAST_IP_ADDR string = "224.0.0.237" //Do I need adhoc? "244.0.2.237" BROADCAST_IP_PORT int = 37147 )
Variables ¶
This section is empty.
Functions ¶
func GetLocalAddrForInterface ¶
Probaby Not Needed
func GetNetworkInterface ¶
MAy want to do a double check that (callback) ip is on said interface
Types ¶
type LinuxNetworkInterfaceError ¶
type LinuxNetworkInterfaceError struct{}
func (LinuxNetworkInterfaceError) Error ¶
func (err LinuxNetworkInterfaceError) Error() string
type P2PNetworkNode ¶
type P2PNetworkNode interface { }
type P2PNode ¶
type P2PNode struct { Interface *net.Interface PacketConnection *ipv4.PacketConn }
func NewP2PNode ¶
type WindowsNetworkInterfaceError ¶
type WindowsNetworkInterfaceError struct{}
func (WindowsNetworkInterfaceError) Error ¶
func (err WindowsNetworkInterfaceError) Error() string
Click to show internal directories.
Click to hide internal directories.