socket control