turn on socket