commented socket class