optimize sock support