hpsocket搭建获取昵称网页交互api

易语言 2020-10-04 14:43:33

hpsocket搭建获取昵称网页交互api

p_ReadFile = 子文本替换 (m_web.GetUrlField (task.pSender, task.dwConnID, #HUF_PATH), “/”, “\”, , , 真)
.如果真 (p_ReadFile = “\”)
p_ReadFile = “\index.html”
.如果真结束
.如果真 (p_ReadFile ≠ “”)
m_web.GetLocalAddress (task.pSender, task.dwConnID, p_ip, p_port)
log (p_ReadFile, p_ip + “ GET”)
.如果真结束
m_web.SendLocalFileEx (task.pSender, task.dwConnID, 取运行目录 () + p_ReadFile, #HSC_OK, , Header_Name, )