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. I want a way to be able to gracefully move onto a different part of the script or return some value. I am using a timeout value when creating the socket, but this timeout is not enforced once the socket connection has been established and back-and-forth communication is occurring. I am trying to allot for a hang in the middle of the connection. Thank you in advance for any suggestions! --Sam -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>