Hello guys, I have a problem. I made a program which connects to IRC via Winsock. It connects correctly, but after some time it disconnects with message:

"Ping timeout: 121 Seconds"

Why this happens? It happens always.. something must be wrong.. any ideas? thanks.