echo

package
v0.0.0-...-ed65298 Latest Latest
Warning

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

Go to latest
Published: May 1, 2015 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	C   *icmp.PacketConn
	Out chan string
	In  chan string
	V6  bool
}

func StartSocket

func StartSocket(v6 bool) (s *Socket)

func (*Socket) Echo

func (es *Socket) Echo(ip *net.IP) (err error)

func (*Socket) Listen

func (es *Socket) Listen()

func (*Socket) Start

func (es *Socket) Start()

Jump to

Keyboard shortcuts

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