Socket robustness