Lyle Kopnicky wrote:
> Hi folks,
>
> I'm using the HTTP::Daemon module. Is there any way to do non-blocking
> IO with that? Thanks.
Should work if it's inherited from IO::Handle :
$sock->blocking(0) ...
You could try (not sure if it works) :
setsockopt $sock, IPPROTO_TCP, TCP
Win sockets on Win32?
not really, the only choice you have is IO::Select.
:)
John
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Lyle Kopnicky
Sent: Tuesday, April 18, 2006 12:22 AM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: Non-blocking IO?
Hi
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dan Jablonsky
> Sent: April 17, 2006 8:00 PM
> To: perl-win32-users@listserv.ActiveState.com
> Subject: stop a Windows application from within a Perl script
>
> Hi all,
> I have a very simple script
last?
bruce wrote:
ok..
i'm embarassed.. how does one break out of a for/foreach loop??
i thought it was exit/break...
pointers?
thanks
-bruce
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://li
ok..
i'm embarassed.. how does one break out of a for/foreach loop??
i thought it was exit/break...
pointers?
thanks
-bruce
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/
Hi all,
I have a very simple script that pings the outside
world and reboots a router when it gets no answer to
the ping anymore; on top of that I need to stop and
start again a windows application.
I know how to start the app and I know how to stop it
if it were unix -> to stop the app, just kill
A quick word of caution about the -d
directory operator under Win32 (and -e and opendir and ...). If
the Win32 directory name contains unicode / wide characters, the -d operator
will always return "false". As I understand it, Win32 Perl
uses the A (ansi) version of the Win32 API directory calls
Yah I guess I missed the recursive bit.
So then just stick something like I mentioned below into a subroutine, pass
in the initial directory path, when you do the "-d" test push the directory
into a global array and make a callback to the same routine passing the new
directory path.
- Or
Hi folks,
I'm using the HTTP::Daemon module. Is there any way to do non-blocking
IO with that? Thanks.
--
Lyle Kopnicky
Software Project Engineer
Veicon Technology, Inc.
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
T
At 11:40 PM 4/16/2006 -0400, Ng, Bill wrote:
>Actually ...
>
> If I'm looking just for a list of directories, I pass "/ad" and
>"/b" to my dir command.
>
>Bill
opendir DIR, "$path";
@dirs = grep {-d} readdir DIR;
That gives u all the directories in the current directory $path.
--
REME
I've written
a CGI that used to work on IE6 but does not on IE7. That is, there is a form
that writes a cookie which a second page then uses for processing. With IE7 the
cookie comes up blank (but still works with Firefox and used to work with IE6).
Has anyone
played with IE7 and seen th
11 matches
Mail list logo