See http://stackoverflow.com/questions/384391/how-to-signal-select-to-
return-immediately: signal() blocks until it received something from the
socket, or until a timeout occours. We can either do the pipe trick as
mentioned in the link, or we explicitly set a timeout for the select().

Attached patch does the latter.

** Attachment added: "patch which explicitly sets timeout for the select() 
function"
   
https://bugs.launchpad.net/ubuntu/+source/echoping/+bug/1022870/+attachment/3218301/+files/patch_echoping.c_timeout

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022870

Title:
  Timeout for echo ping does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/echoping/+bug/1022870/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to