I start this process with a command prompt and need to break out of the while loop: $lsn = new IO::Socket::INET(Listen => SOMAXCONN, LocalPort => 1000); $sel = new IO::Select( $lsn ); while (1) { $incoming = $sel->can_read); process socket... more processing... } Is there some way to signal the process to wake up and exit the loop from the command line? If this is running as an NT service, how would I signal it without the command prompt? K --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]