Socket parameters were wrong.