sockctrl

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This version of sockctrl is for Go versions >= 1.9, where the socket FDs are accessible via RawConn.Control().

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetsockoptInt

func GetsockoptInt(c *net.UDPConn, level, opt int) (int, error)

func SetsockoptInt

func SetsockoptInt(c *net.UDPConn, level, opt, value int) error

func SockControl

func SockControl(c *net.UDPConn, f func(int) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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