diff --git a/Makefile b/Makefile index 02af61d..e623450 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ all: getpeername +# requires busybox nc +test: + nc -s 127.1.33.7 -l -p 1234 -e ./getpeername & + nc -w 1 127.1.33.7 1234 + clean: rm getpeername