4 ms·
the package `netutil` has a LimitListener function which wraps the given listener and accepts at most N simultaneous connections.
by iampims 6y ago
the package `netutil` has a LimitListener function which wraps the given listener and accepts at most N simultaneous connections.