Questions tagged [poe]

POE is a portable framework for cooperative, event driven multitasking and networking in Perl. Other languages have similar frameworks. Python has Twisted. TCL has "the event loop".

Related Resources

54 questions
0
votes
1 answer

POE::Component::IRC, how to anticipate an action after requesting it?

What I'm trying to make happen: my PoCo::IRC bot requests for you to sign a message with an RSA key, but the message has a random string for every time you identify (sort of like #bitcoin-otc's gribble bot, but using RSA instead of bitcoin). I want…
0
votes
2 answers

How to specify number of packets to ping?

I'm using POE::Component::Client::Ping to ping multiple hosts with this example. As I understand this sends one request to host. Is it possible to specify number of packets to ping like in ping -c 4 HOST?
Massimo
  • 75
  • 10
0
votes
0 answers

register multiple instances of application in the same host to same Net-SNMP agent

I've been struggling with this for a couple of days, and none of the solutions I've found work the way I'd like (I can be completely wrong, I've not used SNMP for a very long time, though). This is existing code in my company, a perl application…
Alberto
  • 687
  • 6
  • 21
0
votes
1 answer

How to install perl-POE-Component-Jabber 2.02

I'm using SL6 and I need to install perl-POE-Component-Jabber v2.02 with yum but I can not find this package in any repository for SL6. Can somebody please help me?
Liss
  • 95
  • 1
  • 3
  • 11
0
votes
1 answer

(Perl/POE) In POE::Component::IRC, How do you return/get data from a package_state in an external subroutine?

I am trying to get the output data from a package_state in my IRC bot, which uses POE::Component::IRC as a base. But I just cannot seem to do it. Basically, in a subroutine outside of the POE session, I wish to get the data from an event subroutine…
0
votes
2 answers

Perl: Recommendations on how to forward messages received from blocking calls to multiple network sockets

I have the following Perl problem: I am trying to build a simple network-enabled forwarder/consumer script. the forwarder part loops and calls a local blocking function to retrieve a new string (i.e., from an existing library) the consumer part…
msto
  • 63
  • 1
  • 4
0
votes
1 answer

Have POE based IRC bot display text every hour

I have a POE based IRC bot that uses "modules" for command sets. The core bot script loads *.pm files in the plugins directory of the bot's home directory. I want to have one module that can read a config and send xxx text to xxx channel(s) every…
gdanko
  • 1,922
  • 4
  • 20
  • 31
0
votes
2 answers

POE::Component::Server::NRPE, return-value

I try to use your CPAN-module POE::Compoenten::Server::NRPE. I tried the sample from the CPAN-site and tested against nagios-tool check_nrpe. the text was fine, but I am not able to get the correct return-value. you described this return_result in…
chris01
  • 10,921
  • 9
  • 54
  • 93
-2
votes
1 answer

IEEE 802.3bt compliant PD with Low Power Consumption

I am designing a flow transmitter with Power over Ethernet(PoE) output. I am assuming the power consumption of the device is going to be low (< 11 Watts) for which power demand fall under 802.3at standard. Now, the customer is demanding flow…
1 2 3
4