Socket options for a tcp server with 3G clients & frequent disconnections
- by Joel
I have a TCP server, written in java, sending and receiving many short messages, from 500 bytes to 100 KB long. It's a chess game and chat server, to make it simple. The server is running Debian 6.
Half of the clients are connecting from 3G networks, and half over standard DSL.
A portion of the 3G clients lose connection pretty often. The error I…