用socket進行網絡通訊

創建tcp傳輸 serves_socket = socket.socket(family=socket.AF_INET,type=socket.SOCK_STREAM) serves_socket.bind(("",8000)) serves_socket.listen(128) 創建多線程訪問 while True: cli_socket, cli_address
相關文章
相關標籤/搜索