s.listen(5) 報(bào)錯(cuò)10022 提供了一個(gè)無(wú)效的參數(shù)
Traceback?(most?recent?call?last):?? ????File?"e:/Programming/Python/iMOOC?-?Server/Server.py",?line?20,?in?<module>????server()?? ????File?"e:/Programming/Python/iMOOC?-?Server/Server.py",?line?10,?in?server????s.listen(5) OSError:?[WinError?10022]?提供了一個(gè)無(wú)效的參數(shù)。
謝謝老師!
2020-02-27
搞定了,忘記bind了。。。