在使用socket接受图片的时候出现BrokenPipeError: [Errno 32] Broken pipe错误,在每次接受一帧图像后就会出现管道错误,后来发现是把socket.accept()放到了while循环里,所以梅发一帧图像就会在一次accept(),出现管道错误