in reply to Alarm Timer Win32

Despite Windows NT variants claiming to be POSIX compliant (laughs) SIGALRM is not supported under Windows. Well, rather, it claims it is, but doesn't work as you've found out.

Perhaps an approach might be to fork() an external watcher process that looks for an established tcp connection with netstat which returns after x seconds if it doesn't find it or something - vile and horrible I know... Bloody Windows ;)

Replies are listed 'Best First'.
Re^2: Alarm Timer Win32
by cutter (Acolyte) on Sep 19, 2005 at 19:06 UTC
    Agree with you on the vile and horrible. I was hoping it was just me doing something stupid but I guess not.

    Bloody Windows....