Re: how to set timeout for 'read' command

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 07/07/05


Date: Thu, 7 Jul 2005 10:56:14 -0400

On 7 Jul 2005 06:21:43 -0700, nasir
  <nasir.kamal@gmail.com> wrote:
>
> I hope I am using the right Reply button this time. Sorry for using the
> wrong one.
> I changed it to /dev/tcp/10.100.1.1/29 where tcp/29 is an unused port
> and no service is running on that. Ideally it should timeout after 15
> seconds, but I get the following output immediately:
>
You have to be root to listen on a low port number ( <1025 ).

-- 
Tonight you will pay the wages of sin; Don't forget to leave a tip.