Socket realization