corrected socket modes