rawsocket

package
v0.0.0-...-c3550ec Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawSocket

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

RawSocket stores a raw socket

func NewRawSocket

func NewRawSocket(device string) *RawSocket

NewRawSocket creates a new raw socket for device

func (*RawSocket) Close

func (r *RawSocket) Close()

Close closes the raw socket

func (*RawSocket) Send

func (r *RawSocket) Send(data []byte)

Send sends data out of the raw socket

Jump to

Keyboard shortcuts

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