socket

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package socket provides platform-specific socket configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenConfig

func ListenConfig() net.ListenConfig

ListenConfig returns a net.ListenConfig with SO_REUSEADDR enabled This allows the server to restart immediately even if the port is in TIME_WAIT state or held by a zombie process (common after laptop sleep/wake cycles)

Types

This section is empty.

Jump to

Keyboard shortcuts

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