fixing usage of setsocket, no variable value under SOL_SOCKET SO_KEEPALIVE

only 1 ou 0.