python使用socket模擬http服務器

顯示固定的頁面html #coding=utf-8 import socket from multiprocessing import Process def handleClient(clientSocket): '用一個新的進程,爲一個客戶端進行服務' recvData = clientSocket.recv(2014) requestHeaderLines = r
相關文章
相關標籤/搜索