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 36 packages. Updated 2018-03-20. Refresh now. Tools for package owners.