nc

-w timeout
If a connection and stdin are idle for more than timeout seconds,
then the connection is silently closed. The -w flag has no
effect on the -l option, i.e. nc will listen forever for a con-
nection, with or without the -w flag. The default is no timeout.

posted on 2013-11-19 11:37  语辰  阅读(170)  评论(0编辑  收藏  举报