看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Linux GCC 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) pthread 問題(Question): 請教一般在寫 tcp client 程式時, 是否都會使用多個 Thread? 至少一個 send,一個 recv? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.249.105.206 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1450075258.A.77F.html
Qbsuran: 可以不用啦 看需求 12/14 19:55
overhead: 先說說你的需求吧 單thread的話可以用select 12/15 01:13