trying to get this to work. commented out some more setsockopts tcp stuff