• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            從頭再來

            Linux高性能服務器編程閱讀隨筆(一)





            Page 76 . 5.4 監聽socket 




            此處作者說法不完整。  


            通過Google "man listen "  http://linux.die.net/man/2/listen


            listen() marks the socket referred to by sockfd as a passive socket, that is, as a socket that will be used to accept incoming connection requests using accept(2).

            The sockfd argument is a file descriptor that refers to a socket of type SOCK_STREAM or SOCK_SEQPACKET.

            The backlog argument defines the maximum length to which the queue of pending connections for sockfd may grow. If a connection request arrives when the queue is full, the client may receive an error with an indication of ECONNREFUSED or, if the underlying protocol supports retransmission, the request may be ignored so that a later reattempt at connection succeeds.





            可見與實現有關。


            書的內容還是很全的,但作者的觀點略感覺不對。  服務器中用信號來通知的,或者說來做異步的,就我了解是幾乎沒有。  作者去花了很多篇幅去介紹。

            讓人感覺完全是為了湊字數啊。  書名里面的“高性能”要打個折扣了

            posted on 2014-10-21 19:14 易寶@byhh 閱讀(380) 評論(0)  編輯 收藏 引用

            亚洲精品国产成人99久久| 伊人热热久久原色播放www| 久久天堂AV综合合色蜜桃网| 久久狠狠高潮亚洲精品| 26uuu久久五月天| 亚洲七七久久精品中文国产 | 久久久精品2019免费观看| 7777久久亚洲中文字幕| 久久久91人妻无码精品蜜桃HD| 狠狠精品久久久无码中文字幕| 狠狠色丁香久久婷婷综| 久久婷婷色香五月综合激情| 国内精品久久国产大陆| 久久精品国产亚洲AV不卡| 99久久免费只有精品国产| 久久婷婷五月综合色奶水99啪| 久久午夜综合久久| 91精品无码久久久久久五月天| 天天爽天天狠久久久综合麻豆| 亚洲七七久久精品中文国产| 久久精品国产免费一区| 亚洲精品无码久久千人斩| 久久人人爽人人爽人人片AV东京热| 久久国产精品77777| 久久99精品久久久大学生| 亚洲精品无码久久久久AV麻豆| 亚洲一区二区三区日本久久九| 亚洲AV无码一区东京热久久| 久久久久波多野结衣高潮| 亚洲精品成人久久久| 久久无码人妻精品一区二区三区| 久久国产精品成人免费| 久久久久久久亚洲Av无码| 性欧美大战久久久久久久久| 99久久无色码中文字幕人妻| 亚洲国产成人久久精品99| 久久se这里只有精品| 久久国产热这里只有精品| 久久久久国产| 久久人妻无码中文字幕| 色欲久久久天天天综合网精品|