socket basic