net

package
v0.0.0-...-37f2402 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(network, address string, sz int) (net.Conn, error)

Dial returns a dialled connection with its send and receive buffer sizes set. If sz <= 0, we leave the default size.

func Listen

func Listen(network, address string, sz int) (net.Listener, error)

Listen returns a listener with its send and receive buffer sizes set, such that sockets which are *returned* by the listener when Accept() is called also have those buffer sizes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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