Running the following server and client scripts: Server (updated): Client (updated): the server receives and accepts the connection request but ...
Running the following server and client scripts: Server (updated): Client (updated): the server receives and accepts the connection request but ...
Since the Perl's Net::IRC library's been deprecated, I need to convert some old code that uses it over to the newer AnyEvent::IRC::Client. The problem ...
I'm exploring the AnyEvent::IRC::Client library to send a list of messages to an IRC channel. I follow the sample code from its metacpan site (ref: ht ...
While debugging a failed test for AnyEvent on Windows, I created the following script based on test 80_ssltest.t: This script hangs (Ubuntu 20.04, ...
I am a newbie in Perl, so in educational purposes I am developing multithreaded server using AnyEvent and Coro. The client sends to server list of dir ...
We have a library that uses AnyEvent already. It uses AnyEvent internally and in the end it returns a value (synchronously - not with a callback). Is ...
The program uses the AnyEvent event loop. The program should read new lines that sometimes (rarely) appear in a text file on the local file system. As ...
I've met the following error:: Can't use an undefined value as a subroutine reference at /home/basiliscos/perl5/perlbrew/perls/perl-5.26.0/lib/site_ ...
I use the AnyEvent::DNS module. I want to disable IPv6, so that the resolver only makes a request for A record. AnyEvent::DNS, uses the environment ...
How to configure AnyEvent::DNS resolver by default, I want to change max_outstanding, reuse, timeout. There is an environment variable $ENV{PERL_ANYEV ...
It is necessary to read only part of the page (n bytes) and close the connection, how to do this on AnyEvent::HTTP ? ...
I am trying to emulate synchronous control flow in an asynchronous environment. The purpose is to support DB requests without callbacks or blocking o ...
I have the code below to do non blocking rpush into a redis server When I run this for just 1 rpush , the code works fine But when I run this in a whi ...
I have to write a script that get some URLs in parallel and do some work. In the past I have always used Parallel::ForkManager for such things, but no ...
I am implementing a system for distributed cronjob execution (so called cron computing cluster). Cronjobs should be queued into a message queue (Rabbi ...
I have a perl script that subscribes to a message queue using AnyEvent::MQTT. At the minute all I want it to do is print out when it get's a message. ...
I want to disconnect from RabbitMQ in a proper way. By reviewing the source code of Perl's AnyEvent::RabbitMQ (which I am using), I found the close me ...
I have been using AnyEvent for a while and EV is installed in my computer. I have the understanding that if EV is installed AnyEvent will try to use ...
I have a requirement to fetch many http urls and I use AnyEvent::HTTP to do this For every URL I need to measure the time taken how can I do this ? ...
I am using a module that takes callbacks (AnyEvent::Socket). I am trying to pass a class subroutine as a callback but nothing is working example: I ...