tcp

package
v0.0.0-...-02ccd07 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTcpOption = port.ScannerOption{
	Rate:    1000,
	Timeout: 800,
}

Functions

This section is empty.

Types

type TcpScanner

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

TcpScanner 结构体更新

func NewTcpScanner

func NewTcpScanner(ctx context.Context, retChan chan port.OpenIpPort, option port.ScannerOption) (*TcpScanner, error)

NewTcpScanner 函数更新

func (*TcpScanner) Close

func (ts *TcpScanner) Close()

Close 方法更新

func (*TcpScanner) Scan

func (ts *TcpScanner) Scan(ip net.IP, dst uint16) error

Scan 方法更新

func (*TcpScanner) Wait

func (ts *TcpScanner) Wait()

其他方法保持不变

func (*TcpScanner) WaitLimiter

func (ts *TcpScanner) WaitLimiter() error

Jump to

Keyboard shortcuts

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