update basic exampel
add python socket server