update socket set up.
refresh socket according to os