net: Index | Files

package netutil

import ""

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


Package Files


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 245 packages. Updated 2020-12-24. Refresh now. Tools for package owners.