… | |
… | |
13 | Blocking => 0, # bugfix workaround for Event calling handler twice :( |
13 | Blocking => 0, # bugfix workaround for Event calling handler twice :( |
14 | ReuseAddr => 1; |
14 | ReuseAddr => 1; |
15 | |
15 | |
16 | if (!$LISTEN) { |
16 | if (!$LISTEN) { |
17 | # extension yes, completely stupid, not yet |
17 | # extension yes, completely stupid, not yet |
18 | warn "unable to establish listen sockect, exiting.\n"; |
18 | warn "unable to establish listen socket, exiting.\n"; |
19 | exit (2); |
19 | exit (2); |
20 | } |
20 | } |
21 | |
21 | |
22 | Event->io ( |
22 | Event->io ( |
23 | reentrant => 0, |
23 | reentrant => 0, |