Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How do I make a tcp socket heartbeat?

by Anonymous Monk
on Oct 09, 2020 at 15:20 UTC ( #11122633=note: print w/replies, xml ) Need Help??

in reply to How do I make a tcp socket heartbeat?

As Haukex suggests ... it should always be a mantra: "am I now trying to do 'Actum Ne Agas: A Thing Already Done?'" In this case the answer is definitely "yes." There are plenty of both high-level and low-level frameworks on CPAN which have already thoroughly solved this problem. The code has been very thoroughly tested and it works.
  • Comment on Re: How do I make a tcp socket heartbeat?

Replies are listed 'Best First'.
Re^2: How do I make a tcp socket heartbeat?
by pudda (Acolyte) on Oct 09, 2020 at 16:56 UTC
    I agree, I used IO::Socket because it was in almost every topic I searched. But I'm using Mojo as suggested by Haukex. Thanks for the advice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11122633]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2021-05-07 11:32 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (91 votes). Check out past polls.