I'd like to know some things about how mIRC handle the connection, specifically when the connection is closed without a message from the server
1) how can it know if it's still connected to the server?
2) does it ping the server to check if it's still there?
3) does it do it only while idling, some time after the last message received or what else?
4) are these messages shown in the debug window?
I also noted that sometimes mIRC thinks to be connected until I type something, and just there it realizes that the connection no longer exist. I'm curious about how mIRC handles these situations.