Socket basic connection