From fff41a3604ac761b6fe4603f0e866b5f91d8b80f Mon Sep 17 00:00:00 2001 From: cattail Date: Sat, 8 Mar 2014 10:37:44 +0800 Subject: [PATCH] improve nc.md add server & stay up --- pages/common/nc.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/nc.md b/pages/common/nc.md index 635256a49a..285439665b 100644 --- a/pages/common/nc.md +++ b/pages/common/nc.md @@ -21,3 +21,11 @@ - receive a file `nc {{ip_address}} {{port}} > somefile.txt` + +- server stay up after client detach + +`nc -k -l {{port}}` + +-- client stay up after EOF + +`nc -q {{timeout}} {{ip_address}}`