changed socket configure