before messing with socket base