• <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)  編輯 收藏 引用

            亚洲一区二区三区日本久久九| 天天躁日日躁狠狠久久| 久久国产免费观看精品3| 久久99国产综合精品| 久久国产三级无码一区二区| 国内精品伊人久久久久网站| 99久久无码一区人妻| 99精品久久久久久久婷婷| 狠狠色丁香久久婷婷综合五月| 色综合久久88色综合天天| 理论片午午伦夜理片久久| 婷婷综合久久中文字幕蜜桃三电影| 99久久精品日本一区二区免费 | 久久天天躁狠狠躁夜夜网站| 91久久精品视频| 久久综合狠狠综合久久| 午夜精品久久久久久久无码| 久久99国产精品二区不卡| 久久精品国产亚洲AV影院| 99精品伊人久久久大香线蕉| 久久99国产精一区二区三区 | 婷婷久久香蕉五月综合加勒比| 久久99国产一区二区三区| 久久精品人人做人人爽97| 四虎国产精品成人免费久久| 久久久久夜夜夜精品国产| 久久无码人妻一区二区三区午夜 | 国产精品9999久久久久| 香蕉久久夜色精品国产2020| 国产激情久久久久影院老熟女| 国产精品久久久久aaaa| 久久国产欧美日韩精品| 国产成人久久精品一区二区三区 | 午夜精品久久久久| 久久久久九国产精品| 国产免费久久精品99久久| 99久久夜色精品国产网站| 久久99热国产这有精品| 国产成人精品久久一区二区三区 | 久久精品国产亚洲AV忘忧草18| 无码人妻久久一区二区三区蜜桃 |