final socket changes