[問題] 關於系程作業一

看板b97902HW作者 (neko)時間14年前 (2010/03/22 02:17), 編輯推噓3(302)
留言5則, 3人參與, 最新討論串1/1
不知道有沒有人有相同的問題 當對一個FD重複讀讀完後 老師設的ret說是會設成0 但是我完整打一個request後 (例如GET /file_name HTTP/1.1[換行][換行]) 他會跳到ret<0的那段程式 然後整個就錯掉了.. 這邊不知是否有問題存在呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.233.15.210

03/22 08:59, , 1F
fd是甚麼的fd
03/22 08:59, 1F

03/23 14:23, , 2F
Pls check what *errP returned
03/23 14:23, 2F

03/24 02:50, , 3F
thanks
03/24 02:50, 3F

03/24 02:52, , 4F
does HTTP connection close after every single req?
03/24 02:52, 4F

03/25 10:04, , 5F
Yes in this assignment. Keep-alive can be ignored here.
03/25 10:04, 5F
文章代碼(AID): #1BfcBHV- (b97902HW)