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

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 14 packages. Updated 3 days ago. Refresh now. Tools for package owners.