Thanks for the help!
In fact, I'm pretty new to both perl and TCP connections. I used IO :: Socket because I found the most examples out there, but I found it very difficult to understand how everything works with it. Maybe in the future I will study more and try to do the script again, writing the complete server.
I tested your example using Mojo and it worked very well, exactly as I wanted. Thanks very much!
In reply to Re^2: How do I make a tcp socket heartbeat?
by pudda
in thread How do I make a tcp socket heartbeat?
by pudda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |