question and answer about socket