some practice for Python-Socket