RE: Timing out without alarm function

2004-02-03 Thread Sam Masiello
Thank you very much, Daniel! --Sam Daniel Staal wrote: > --As off Tuesday, February 3, 2004 10:09 AM -0700, Sam Masiello is > alleged to have said: > >> I have a script where I am sending some data over a socket, but after >> X seconds I want the operation to time out.

Timing out without alarm function

2004-02-03 Thread Sam Masiello
Hi all! I am new to the list, and have a question which I hope isn't too difficult to answer. I have a script where I am sending some data over a socket, but after X seconds I want the operation to time out. I am currently using alarm to enforce the timeout, but I don't want the script to die.