pyhton (vscode)網絡編程初試

代碼: #創建服務器 import socket s = socket.socket() host = socket.gethostname() #print(host) port = 12345 add = (host, port) s.bind(add) s.listen( 5) while True: print( "working ------------") c, addr = s.ac
相關文章
相關標籤/搜索