net: golang.org/x/net/netutil Index | Files

package netutil

import "golang.org/x/net/netutil"

Package netutil provides network utility functions, complementing the more common ones in the net package.

Index

Package Files

listen.go

func LimitListener Uses

func LimitListener(l net.Listener, n int) net.Listener

LimitListener returns a Listener that accepts at most n simultaneous connections from the provided Listener.

Package netutil imports 2 packages (graph) and is imported by 35 packages. Updated 2017-12-12. Refresh now. Tools for package owners.