Do you know where your variables are? | |
PerlMonks |
Re: How do I make a tcp socket heartbeat?by haukex (Archbishop) |
on Oct 09, 2020 at 20:13 UTC ( [id://11122644]=note: print w/replies, xml ) | Need Help?? |
I just noticed that your previous question from last week was in regards to AnyEvent. Note that it is an event loop framework much like Mojo::IOLoop, so if you're already using one of them, it certainly can't hurt to learn about the others, but for your production code, you probably don't want to mix the two. See AnyEvent::Socket for TCP servers and clients. (Personally I still prefer Mojo, and it can do Websockets too, but TIMTOWTDI.)
In Section
Seekers of Perl Wisdom
|
|