socket settings