Thanks for various interesting answers about detecting disconnection. I am interested in that too. My initial question was about detecting random transmission errors in the payload (using checksums or by encoding the data...). I assume that Erlang just relies on the TCP and IP layer checksums?