Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11122633]
help
Chatterbox?
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: (3)
As of 2020-12-05 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?