I usually try to avoid things that are not cross-platform, unless there is no other alternative. (I am definitely not saying that you are wrong.)
alarm() is not implemented on win32, and this is true up to 5.8.2.
The best solution is to use various socket timeouts that socket supports, not to implement by oneself.
In reply to Re: Re: Making Timeout for Yourself
by pg
in thread Making Timeout for Yourself
by mcogan1966
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |