netutils

package
v0.250.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTcpPortOpen

func IsTcpPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool, err error)

Check if a TCP port on the given hostnameOrIp with given portNumber is open. The evaluation is done by opening a TCP socket and close it again.

func MustIsTcpPortOpen

func MustIsTcpPortOpen(hostnameOrIp string, port int, verbose bool) (isOpen bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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