initialized socket controller