update teaching and studying socket communication