netutil

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: EUPL-1.2 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FreeTCPPort

func FreeTCPPort() (port int, err error)

FreeTCPPort asks the kernel for a free open port that is ready to use. Taken from https://gist.github.com/sevkin/96bdae9274465b2d09191384f86ef39d

Types

This section is empty.

Jump to

Keyboard shortcuts

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