sockets

package
v0.6.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const EINPROGRESS = syscall.EINPROGRESS

Variables

This section is empty.

Functions

func Close

func Close(fd int) error

Close closes a file descriptor created with Socket, Listen or Dial.

func Dial

func Dial(rawAddr string) (int, error)

Dial creates a socket and connects to the specified address.

func Listen

func Listen(rawAddr string) (int, error)

Listen creates a socket that listens on the specified address.

func Socket

func Socket(rawAddr string) (u *url.URL, sa syscall.Sockaddr, fd int, err error)

Socket prepares a socket for the specified address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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