demo示例https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431929340191970154d52b9d484b88a7b343708fcc60000
运行该示例时出现错误:
第一次错误情况为:OSError: [WinError 87]The parameter is incorrect
原因:windows10 64 不支持callable下调用匿名函数lambda,需要封装一下,win7中也存在该问题
第二次错误情况:The "freeze_support()" line can be omitted if the programis not going to be frozen to produce an executable.然后根据提示引用from multiprocessing import freeze_support
第三次错误情况:由端口冲突照成的Error: [WinError 10013]
第四次错误情况:ip地址为空造成OSError: [WinError 10049]