python Tcp實現斷網自動重連

import os import socket def socketcommunication(): tcp_client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) tcp_client_socket.connect(("192.168.199.111", 4001)) return tcp_c
相關文章
相關標籤/搜索