Thread $SIG{ALRM} unter windows: bricht nicht nach n sec. ab (3 answers)
Opened by styx-cc at 2006-12-13 19:41

styx-cc
 2006-12-13 21:17
#72531 #72531
User since
2006-05-20
533 Artikel
BenutzerIn

user image
Ha, war ganz einfach =)
Diese Zeile:
Code: (dl )
local $SIG{ALRM} = sub {print "SERVER-PING!\n"; keep_alive(0)};

Nach:
Code: (dl )
local $SIG{ALRM} = sub {print "SERVER-PING!\n"; alarm(15)};
geaendert..

MfG
Pörl.

View full thread $SIG{ALRM} unter windows: bricht nicht nach n sec. ab