Checking the inet doc, I find that the keepalive parameter is only true | false Why not allow the user to specify an integer so I could specify my gen_tcp listening server to send keepalives every N seconds instead of the default value that is way to long? I tried the search function on erlang.org first but it crashed on me / did not work. /Peter