handshake

package
v0.0.0-...-f491d88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handshake

type Handshake struct {
	// contains filtered or unexported fields
}

func NewHandshake

func NewHandshake(iface string) *Handshake

func (*Handshake) AskForConnection

func (h *Handshake) AskForConnection(ip string) error

func (*Handshake) Close

func (h *Handshake) Close()

func (*Handshake) Connection

func (h *Handshake) Connection() *icmp.PacketConn

func (*Handshake) ListenForConnection

func (h *Handshake) ListenForConnection() error

ListenForConnection returns (connection net address, error)

func (*Handshake) Pair

func (h *Handshake) Pair() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL