Ooo. Perl.  

I didn't know about about Growl::GNTP. What kind of home automation device do 
you have? Curious. Wondering why it has strict execution time limits.  

It's been a long time since I've done perl, but just guessing here, you should 
probably just lower the timeout interval to IO::Socket::INET in the Growl::GNTP 
code…  

Something like this?  
my $sock = IO::Socket::INET->new( PeerAddr => $self->{PeerHost}, PeerPort => 
$self->{PeerPort}, Proto => $self->{Proto},
Timeout => 5,
);



--  
Zac Bowling



On Sunday, December 4, 2011 at 11:34 AM, ctr wrote:

> Reading about "subscriptions" (receiving events from another system) I think 
> this is only available on Growl for Windows.
> So whats "the right" way to notify multiple internal receivers if I don't 
> know if the receiver is up or not?
>  
> I'd like to send Growl and Prowl notifications from a Linux box used for home 
> automation to a few Macs and iOS devices.
> Prowl is already working fine (through API) and Growl (using Prowl::GNTP for 
> Perl) also works as long as *all* receivers are up, but not when one of them 
> is not running.
> If I have several receivers (in multiple networks, going over firewalls!), 
> how do I properly send messages to all of them that are up and running? I 
> assume this would have not been a problem with UDP, but with GNTP I'm running 
> into a IO::Socket::INET timeout that's longer than my "allowed execution 
> time" (10s) on my home automation device...
> --  
> You received this message because you are subscribed to the Google Groups 
> "Growl Discuss" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/growldiscuss/-/YvhZK_V4UogJ.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/growldiscuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to