Returning socket controller code to generic operability