TCP客戶端服務器交互

from socket import * from time import ctime HOST = '' # 容許任意host接入 PORT = 21567 BUFSIZ = 1024 ADDR = (HOST, PORT) tcpSerSock = socket(AF_INET, SOCK_STREAM) tcpSerSock.bind(ADDR) # 綁定
相關文章
相關標籤/搜索