in reply to Win32::Daemon + socket->accept: service cannot be stopped [SOLVED]
Please use <code>...</code> around your blocks of code, not <pre>...</pre>. Also, please use <readmore>...</readmore> around long posts such as this one. Please update your post in this fashion to save the janitors the trouble.
Now, about your question,
Ideally, you'd timeout accept periodically in order to check for service messages. accept itself doesn't accept a timeout, so I'd check if alarm can interrupt accept in Windows.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::Daemon + socket->accept: service cannot be stopped
by svenXY (Deacon) on Jun 24, 2005 at 09:05 UTC |