Winsock timeouts are very annoying, when making an online chess game. Why do these timouts keep happening? and how can I reconnect when they do?

Thanx

Richard Charlton