markedconn

package
v8.19.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialMarkedTCP

func DialMarkedTCP(network string, laddr, raddr *net.TCPAddr, mark int) (net.Conn, error)

DialMarkedTCP creates a new TCP connection and marks it with the provided mark.

func MarkConnection

func MarkConnection(conn net.Conn, mark int) error

MarkConnection marks an existing connection with a mark

Types

This section is empty.

Jump to

Keyboard shortcuts

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