Python 實現的簡單server-client demo

server端程序: # coding:utf8 '''建立服務器端程序,用來接收客戶端傳進的數據''' from socket import * from time import ctime def server(): HOST = '' PORT = 10521 ADDR = (HOST,PORT) server_socket = socket(AF_IN
相關文章
相關標籤/搜索