[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netcat in listen mode don't exit

It should, but it doesn't. It only made diference when there's no connection. When a connection is made, even with -w 5 (for instance), nc waits forever.

2009/2/11 Sudev Barar <sbarar@gmail.com>
2009/2/12 Paulo Brito <paulorsbrito.listas@gmail.com>:
> Michael, thanks for your reply. But if you read my entire email, you'll see
> that the problem is netcat NOT exiting after disconnect. So, your script
> will not solve the problem, because the nc never exits.

Will -w option work?

Sudev Barar
Read http://blog.sudev.in for topics ranging from here to there.

PS: I know most of people do not follow email niceties (mostly they
are not aware) but if you follow bottom post/in-line post style of
email conversations it becomes a whole lot easier to carry on
meaningful dialogue and you can snip out what is not meaningful too.
Most people just hit reply button and top post leaving prior message
appended uselessly at bottom. See if you can adopt this style and
persuade others. In case you are already doing this ..... great,
spread the message.

Reply to: