auto-reconnect

Started by KAKAN, Sep 06, 2015, 11:53 AM

Previous topic - Next topic

KAKAN

How to auto-reconnect the IRC bots when they gets a ping timeout?
Just tell How-To, and I'll try to make it, or else I'll tell you to give me an example
oh no

Thijn

If they ping timeout your code is wrong.

KAKAN

Ahh, I don't mean that
What will happen if my net is down for a min, then my bots will be disconnected for sure, how to reconnect them to IRC?(currently I'm doing it with a cmd)
oh no

Gudio

Don't worry if your net is down for a minute. Bots can timeout after 120 seconds.
Close sockets and connect bots again? Simple solution.