classe socketConnect