socket configuration