modif connection socket