[爆卦]socket種類是什麼?優點缺點精華區懶人包

為什麼這篇socket種類鄉民發文收入到精華區:因為在socket種類這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者a60301 (mingtsay〃小喵)看板C_and_CPP標題[討論] socket 種類 ...

socket種類 在 James Au, PT, CSCS Instagram 的最讚貼文

2021-04-04 13:58:58

💥My Doctor Says...(附中文) “First Episode: Hole in my rotator cuff” - 🤔 One of the common myth my patients like to tell me is they underwent several test...


各位大大都是用哪種類型的 socket 呢?
是 blocking , non-blocking 還是 async 呢?
其實這要看需求以及使用的狀況這點我明白
不過還是很好奇大家比較多使用哪種類型的 socket

有興趣想玩投票統計可以回推文
1. blocking
2. non-blocking
3. async

推文範例:

推 a60301: 1,3
→ a60301: 2
推 a60301: 1,2,3

--
` ◥◣◢◣◢◣ ◢▏。 ○ ο
° ██◤ █◤◥◤█ o °
◤ ◥ █ █
ˍ ◤◤ ◢◤ ◢◤██◣ ◢
◢◤ ◤ingsay ◢███ ζ )
) mt.rmstudio.tw [email protected] ◤◤ wnqui

--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.157.72
purincess:2 (自己開thread下去處理有的沒的的) 05/20 23:04
tinlans:用 boost.asio 的話很明顯會走 3.,不然就是 1 + thread 05/21 12:51
cuteclare:感覺async跟socket一點關係都沒有啊 orz 05/21 18:32
damody:只有 1 跟 2 , 3是os幫你做的 05/21 21:38

你可能也想看看

搜尋相關網站