I did some research and found this can also be a winsock problem. And this problem happens mostly with win XP.

I have been testing Virc and so far haven't been disconnected with it. I like mirc better but if I can't stay connected I will have to use something else.