]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a test for the listen queue using two test programs,
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>
Wed, 28 Oct 2015 03:43:24 +0000 (03:43 +0000)
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>
Wed, 28 Oct 2015 03:43:24 +0000 (03:43 +0000)
commitbae28eaa8d26ddd67e9af51979f1a54599e9b3a8
tree42450d80296095d0707e78f8e9b080b107623450
parent9f12bed1cdac50bb2402aed914c8e45904e13658
Add a test for the listen queue using two test programs,
listen, and connect.  The listen program is a simple server that
accepts and closes sockets, until a fixed limit, then sets the listen
queue to 0 and counts how many remaining connections it processes.

The connect program repeatedly opens connections and closes them
serving as the driver for the listen program.

Sponsored by: Limelight Networks
tools/test/net/Makefile [new file with mode: 0644]
tools/test/net/connect.c [new file with mode: 0644]
tools/test/net/listen.c [new file with mode: 0644]